#EBD85C#EBD85C
#EBD85C is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.5% C 0.144 H 100.6°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).
Color values
| HEX | #EBD85C |
|---|---|
| RGB | rgb(235, 216, 92) |
| HSL | hsl(52, 78%, 64%) |
| HSV | hsv(52, 61%, 92%) |
| CMYK | cmyk(0%, 8.1%, 60.9%, 7.8%) |
| CIE-LAB | lab(85.78, -8.01, 61.87) |
| CIE-LCH | lch(85.78, 62.38, 97.38°) |
| OKLab | oklab(87.47% -0.0266 0.1418) |
| OKLCH | oklch(87.47% 0.144 100.6) |
| XYZ | xyz(60.7510, 67.5491, 19.9614) |
| Luminance | 0.6755 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.04
Sand Yellow
#FCE166
ΔE00 3.12
Yellow Tan
#FFE36E
ΔE00 3.81
Light Gold
#FDDC5C
ΔE00 3.92
Sandy
#F1DA7A
ΔE00 3.94
Pale Gold
#FDDE6C
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EBD85C #5C6FEB
analogous
#EB915C #EBD85C #B7EB5C
triadic
#EBD85C #5CEBD8 #D85CEB
tetradic
#EBD85C #5CEB91 #5C6FEB #EB5CB7
square
#EBD85C #5CEB91 #5C6FEB #EB5CB7
split-complementary
#EBD85C #5CB7EB #915CEB
monochromatic
#B6A116 #E4CB25 #EBD85C #F2E593 #F8F2C9
Accessibility & contrast
On white
1.45
#EBD85C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.51
#EBD85C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EBD85C
14.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EBD85C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EBD85C | 1.00 | 1.45 | 14.51 | 14.51 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD24E
Deuteranopia (green-blind)
#F0DA62
Tritanopia (blue-blind)
#FCCABD
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #ebd85c; /* rgb */ color: rgb(235, 216, 92); /* oklch */ color: oklch(87.5% 0.144 100.6);
Tailwind
colors: {
custom: {
50: '#f5e38f',
500: '#ebd85c',
950: '#000000',
},
}SCSS
$custom: #ebd85c; $custom-light: #f5e38f; $custom-dark: #000000;
JSON
{
"hex": "#ebd85c",
"rgb": {
"r": 235,
"g": 216,
"b": 92
},
"hsl": {
"h": 52.028,
"s": 78.142,
"l": 64.118
},
"oklch": {
"l": 0.87468,
"c": 0.14424,
"h": 100.6
},
"luminance": 0.67547
}Semantic roles & 50–950 ramp
primary
#EBD85C
secondary
#3546B6
accent
#27DA0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F