#E6D962#E6D962
#E6D962 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.3% C 0.140 H 103.1°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).
Color values
| HEX | #E6D962 |
|---|---|
| RGB | rgb(230, 217, 98) |
| HSL | hsl(54, 73%, 64%) |
| HSV | hsv(54, 57%, 90%) |
| CMYK | cmyk(0%, 5.7%, 57.4%, 9.8%) |
| CIE-LAB | lab(85.67, -10.15, 59.00) |
| CIE-LCH | lch(85.67, 59.87, 99.76°) |
| OKLab | oklab(87.3% -0.0318 0.1365) |
| OKLCH | oklch(87.3% 0.14 103.1) |
| XYZ | xyz(59.6526, 67.3327, 21.4072) |
| Luminance | 0.6733 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.92
Sandy
#F1DA7A
ΔE00 4.22
Sand Yellow
#FCE166
ΔE00 4.33
Sandy Yellow
#FDEE73
ΔE00 4.72
Yellowish
#FAEE66
ΔE00 4.85
Yellow Tan
#FFE36E
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E6D962 #626FE6
analogous
#E69762 #E6D962 #B1E662
triadic
#E6D962 #62E6D9 #D962E6
tetradic
#E6D962 #62E697 #626FE6 #E662B1
square
#E6D962 #62E697 #626FE6 #E662B1
split-complementary
#E6D962 #62B1E6 #9762E6
monochromatic
#B1A31C #DECC2D #E6D962 #EEE697 #F7F3CC
Accessibility & contrast
On white
1.45
#E6D962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.47
#E6D962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E6D962
14.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E6D962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E6D962 | 1.00 | 1.45 | 14.47 | 14.47 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD356
Deuteranopia (green-blind)
#EFD968
Tritanopia (blue-blind)
#F6CCBF
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e6d962; /* rgb */ color: rgb(230, 217, 98); /* oklch */ color: oklch(87.3% 0.140 103.1);
Tailwind
colors: {
custom: {
50: '#f1e493',
500: '#e6d962',
950: '#000000',
},
}SCSS
$custom: #e6d962; $custom-light: #f1e493; $custom-dark: #000000;
JSON
{
"hex": "#e6d962",
"rgb": {
"r": 230,
"g": 217,
"b": 98
},
"hsl": {
"h": 54.091,
"s": 72.527,
"l": 64.314
},
"oklch": {
"l": 0.87298,
"c": 0.14016,
"h": 103.1
},
"luminance": 0.67331
}Semantic roles & 50–950 ramp
primary
#E6D962
secondary
#3A46B2
accent
#24D511
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F