#E2C468#E2C468
#E2C468 is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.7% C 0.117 H 91.7°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).
Color values
| HEX | #E2C468 |
|---|---|
| RGB | rgb(226, 196, 104) |
| HSL | hsl(45, 68%, 65%) |
| HSV | hsv(45, 54%, 89%) |
| CMYK | cmyk(0%, 13.3%, 54%, 11.4%) |
| CIE-LAB | lab(79.98, -0.62, 49.56) |
| CIE-LCH | lch(79.98, 49.56, 90.71°) |
| OKLab | oklab(82.73% -0.0034 0.1169) |
| OKLCH | oklch(82.73% 0.117 91.7) |
| XYZ | xyz(53.6048, 56.6506, 21.2051) |
| Luminance | 0.5665 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.38
Maize
#F4D054
ΔE00 5.09
Light Mustard
#F7D560
ΔE00 5.23
Sandy
#F1DA7A
ΔE00 5.37
Wheat (survey)
#FBDD7E
ΔE00 5.86
Tan (survey)
#D1B26F
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2C468 #6886E2
analogous
#E28768 #E2C468 #C3E268
triadic
#E2C468 #68E2C4 #C468E2
tetradic
#E2C468 #68E287 #6886E2 #E268C3
square
#E2C468 #68E287 #6886E2 #E268C3
split-complementary
#E2C468 #68C3E2 #8768E2
monochromatic
#AE8C21 #D8B035 #E2C468 #ECD89B #F6ECCF
Accessibility & contrast
On white
1.70
#E2C468 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.33
#E2C468 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2C468
12.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2C468 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2C468 | 1.00 | 1.70 | 12.33 | 12.33 |
| #FFFFFF | 1.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C160
Deuteranopia (green-blind)
#DDCA6C
Tritanopia (blue-blind)
#F2B7AF
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #e2c468; /* rgb */ color: rgb(226, 196, 104); /* oklch */ color: oklch(82.7% 0.117 91.7);
Tailwind
colors: {
custom: {
50: '#eed595',
500: '#e2c468',
950: '#000000',
},
}SCSS
$custom: #e2c468; $custom-light: #eed595; $custom-dark: #000000;
JSON
{
"hex": "#e2c468",
"rgb": {
"r": 226,
"g": 196,
"b": 104
},
"hsl": {
"h": 45.246,
"s": 67.778,
"l": 64.706
},
"oklch": {
"l": 0.82731,
"c": 0.1169,
"h": 91.7
},
"luminance": 0.56648
}Semantic roles & 50–950 ramp
primary
#E2C468
secondary
#3F5AB0
accent
#44D016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F