#EBD85F#EBD85F
#EBD85F is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.5% C 0.142 H 100.4°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).
Color values
| HEX | #EBD85F |
|---|---|
| RGB | rgb(235, 216, 95) |
| HSL | hsl(52, 78%, 65%) |
| HSV | hsv(52, 60%, 92%) |
| CMYK | cmyk(0%, 8.1%, 59.6%, 7.8%) |
| CIE-LAB | lab(85.81, -7.81, 60.59) |
| CIE-LCH | lch(85.81, 61.09, 97.34°) |
| OKLab | oklab(87.5% -0.0257 0.1394) |
| OKLCH | oklch(87.5% 0.142 100.4) |
| XYZ | xyz(60.8847, 67.6026, 20.6658) |
| Luminance | 0.6760 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.24
Sand Yellow
#FCE166
ΔE00 3.11
Sandy
#F1DA7A
ΔE00 3.62
Yellow Tan
#FFE36E
ΔE00 3.73
Pale Gold
#FDDE6C
ΔE00 3.84
Light Gold
#FDDC5C
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EBD85F #5F72EB
analogous
#EB925F #EBD85F #B8EB5F
triadic
#EBD85F #5FEBD8 #D85FEB
tetradic
#EBD85F #5FEB92 #5F72EB #EB5FB8
square
#EBD85F #5FEB92 #5F72EB #EB5FB8
split-complementary
#EBD85F #5FB8EB #925FEB
monochromatic
#B9A317 #E4CB29 #EBD85F #F2E595 #F9F3CC
Accessibility & contrast
On white
1.45
#EBD85F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.52
#EBD85F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EBD85F
14.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EBD85F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EBD85F | 1.00 | 1.45 | 14.52 | 14.52 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD252
Deuteranopia (green-blind)
#F0DA65
Tritanopia (blue-blind)
#FCCABE
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #ebd85f; /* rgb */ color: rgb(235, 216, 95); /* oklch */ color: oklch(87.5% 0.142 100.4);
Tailwind
colors: {
custom: {
50: '#f4e391',
500: '#ebd85f',
950: '#000000',
},
}SCSS
$custom: #ebd85f; $custom-light: #f4e391; $custom-dark: #000000;
JSON
{
"hex": "#ebd85f",
"rgb": {
"r": 235,
"g": 216,
"b": 95
},
"hsl": {
"h": 51.857,
"s": 77.778,
"l": 64.706
},
"oklch": {
"l": 0.87498,
"c": 0.14179,
"h": 100.4
},
"luminance": 0.676
}Semantic roles & 50–950 ramp
primary
#EBD85F
secondary
#3648B8
accent
#28DA0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F