#E2D968#E2D968
#E2D968 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.0% C 0.135 H 104.7°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D968 |
|---|---|
| RGB | rgb(226, 217, 104) |
| HSL | hsl(56, 68%, 65%) |
| HSV | hsv(56, 54%, 89%) |
| CMYK | cmyk(0%, 4%, 54%, 11.4%) |
| CIE-LAB | lab(85.40, -11.33, 55.90) |
| CIE-LCH | lch(85.40, 57.03, 101.46°) |
| OKLab | oklab(87.02% -0.0342 0.1306) |
| OKLCH | oklch(87.02% 0.135 104.7) |
| XYZ | xyz(58.6773, 66.7958, 22.8960) |
| Luminance | 0.6679 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.19
Sandy
#F1DA7A
ΔE00 4.57
Khaki (CSS)
#F0E68C
ΔE00 4.61
Sandy Yellow
#FDEE73
ΔE00 5.17
Yellowish
#FAEE66
ΔE00 5.35
Sand Yellow
#FCE166
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D968 #6871E2
analogous
#E29C68 #E2D968 #AEE268
triadic
#E2D968 #68E2D9 #D968E2
tetradic
#E2D968 #68E29C #6871E2 #E268AE
square
#E2D968 #68E29C #6871E2 #E268AE
split-complementary
#E2D968 #68AEE2 #9C68E2
monochromatic
#AEA421 #D8CC35 #E2D968 #ECE69B #F6F3CF
Accessibility & contrast
On white
1.46
#E2D968 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.36
#E2D968 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D968
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D968 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D968 | 1.00 | 1.46 | 14.36 | 14.36 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D25D
Deuteranopia (green-blind)
#EDD86E
Tritanopia (blue-blind)
#F1CCC0
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e2d968; /* rgb */ color: rgb(226, 217, 104); /* oklch */ color: oklch(87.0% 0.135 104.7);
Tailwind
colors: {
custom: {
50: '#ede496',
500: '#e2d968',
950: '#000000',
},
}SCSS
$custom: #e2d968; $custom-light: #ede496; $custom-dark: #000000;
JSON
{
"hex": "#e2d968",
"rgb": {
"r": 226,
"g": 217,
"b": 104
},
"hsl": {
"h": 55.574,
"s": 67.778,
"l": 64.706
},
"oklch": {
"l": 0.87023,
"c": 0.13502,
"h": 104.7
},
"luminance": 0.66794
}Semantic roles & 50–950 ramp
primary
#E2D968
secondary
#3F47B0
accent
#24D016
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F