#E6D952#E6D952
#E6D952 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.1% C 0.153 H 103.8°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #E6D952 |
|---|---|
| RGB | rgb(230, 217, 82) |
| HSL | hsl(55, 75%, 61%) |
| HSV | hsv(55, 64%, 90%) |
| CMYK | cmyk(0%, 5.7%, 64.3%, 9.8%) |
| CIE-LAB | lab(85.53, -11.20, 65.66) |
| CIE-LCH | lch(85.53, 66.61, 99.68°) |
| OKLab | oklab(87.15% -0.0365 0.1485) |
| OKLCH | oklch(87.15% 0.153 103.8) |
| XYZ | xyz(58.9712, 67.0601, 17.8186) |
| Luminance | 0.6706 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.65
Piss Yellow
#DDD618
ΔE00 3.92
Sand Yellow
#FCE166
ΔE00 4.50
Yellowish
#FAEE66
ΔE00 4.60
Sandy Yellow
#FDEE73
ΔE00 4.99
Yellow Tan
#FFE36E
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E6D952 #525FE6
analogous
#E68F52 #E6D952 #A9E652
triadic
#E6D952 #52E6D9 #D952E6
tetradic
#E6D952 #52E68F #525FE6 #E652A9
square
#E6D952 #52E68F #525FE6 #E652A9
split-complementary
#E6D952 #52A9E6 #8F52E6
monochromatic
#A69918 #DBCB20 #E6D952 #EEE587 #F5F0BD
Accessibility & contrast
On white
1.46
#E6D952 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.41
#E6D952 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E6D952
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E6D952 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E6D952 | 1.00 | 1.46 | 14.41 | 14.41 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD241
Deuteranopia (green-blind)
#F0D95A
Tritanopia (blue-blind)
#F6CBBD
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e6d952; /* rgb */ color: rgb(230, 217, 82); /* oklch */ color: oklch(87.1% 0.153 103.8);
Tailwind
colors: {
custom: {
50: '#f1e489',
500: '#e6d952',
950: '#000000',
},
}SCSS
$custom: #e6d952; $custom-light: #f1e489; $custom-dark: #000000;
JSON
{
"hex": "#e6d952",
"rgb": {
"r": 230,
"g": 217,
"b": 82
},
"hsl": {
"h": 54.73,
"s": 74.747,
"l": 61.176
},
"oklch": {
"l": 0.87145,
"c": 0.15293,
"h": 103.8
},
"luminance": 0.67058
}Semantic roles & 50–950 ramp
primary
#E6D952
secondary
#343FA8
accent
#20D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F