#F5F5DC
beige
#F5F5DC is a yellow colour. In RGB it is 245 red, 245 green and 220 blue, which converts to a hue of 60 degrees, 56% saturation and 91% lightness. It is one of the named CSS colours, written as beige in stylesheets.
Color values
| HEX | #F5F5DC |
|---|---|
| RGB | rgb(245, 245, 220) |
| HSL | hsl(60, 56%, 91%) |
| HSV | hsv(60, 10%, 96%) |
| CMYK | cmyk(0%, 0%, 10%, 4%) |
Contrast and accessibility
Against white the contrast ratio is 1.11:1, and against black it is 18.98:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
| Background | Ratio | Normal text | Large text |
|---|---|---|---|
| White | 1.11:1 | Fail | Fail |
| Black | 18.98:1 | AAA | AAA |
Tints and shades
Lighter tints move #F5F5DC toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #F5F5DC; |
|---|---|
| CSS rgb() | color: rgb(245 245 220); |
| Tailwind | bg-[#f5f5dc] |
| SwiftUI | Color(red: 0.961, green: 0.961, blue: 0.863) |
| Android | Color.parseColor("#F5F5DC") |