#EBD579#EBD579
#EBD579 is a very light, moderate yellow. Relative luminance 0.666; OKLCH L 87.2% C 0.115 H 96.3°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).
Color values
| HEX | #EBD579 |
|---|---|
| RGB | rgb(235, 213, 121) |
| HSL | hsl(48, 74%, 70%) |
| HSV | hsv(48, 49%, 92%) |
| CMYK | cmyk(0%, 9.4%, 48.5%, 7.8%) |
| CIE-LAB | lab(85.32, -4.24, 47.95) |
| CIE-LCH | lch(85.32, 48.14, 95.05°) |
| OKLab | oklab(87.2% -0.0126 0.1146) |
| OKLCH | oklch(87.2% 0.115 96.3) |
| XYZ | xyz(61.5083, 66.6335, 27.7071) |
| Luminance | 0.6663 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.30
Sand (survey)
#E2CA76
ΔE00 2.84
Wheat (survey)
#FBDD7E
ΔE00 3.05
Pale Gold
#FDDE6C
ΔE00 4.25
Light Mustard
#F7D560
ΔE00 4.40
Khaki (CSS)
#F0E68C
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EBD579 #798FEB
analogous
#EB9C79 #EBD579 #C8EB79
triadic
#EBD579 #79EBD5 #D579EB
tetradic
#EBD579 #79EB9C #798FEB #EB79C8
square
#EBD579 #79EB9C #798FEB #EB79C8
split-complementary
#EBD579 #79C8EB #9C79EB
monochromatic
#CBAA1E #E3C444 #EBD579 #F3E6AE #FBF6E4
Accessibility & contrast
On white
1.47
#EBD579 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.33
#EBD579 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EBD579
14.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EBD579 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EBD579 | 1.00 | 1.47 | 14.33 | 14.33 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D171
Deuteranopia (green-blind)
#EBD87D
Tritanopia (blue-blind)
#FAC9BF
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #ebd579; /* rgb */ color: rgb(235, 213, 121); /* oklch */ color: oklch(87.2% 0.115 96.3);
Tailwind
colors: {
custom: {
50: '#f3e1a1',
500: '#ebd579',
950: '#000000',
},
}SCSS
$custom: #ebd579; $custom-light: #f3e1a1; $custom-dark: #000000;
JSON
{
"hex": "#ebd579",
"rgb": {
"r": 235,
"g": 213,
"b": 121
},
"hsl": {
"h": 48.421,
"s": 74.026,
"l": 69.804
},
"oklch": {
"l": 0.87201,
"c": 0.1153,
"h": 96.3
},
"luminance": 0.66631
}Semantic roles & 50–950 ramp
primary
#EBD579
secondary
#445DC4
accent
#36D60F
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480