#E2CD78#E2CD78
#E2CD78 is a very light, moderate yellow. Relative luminance 0.612; OKLCH L 84.8% C 0.108 H 95.9°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #E2CD78 |
|---|---|
| RGB | rgb(226, 205, 120) |
| HSL | hsl(48, 65%, 68%) |
| HSV | hsv(48, 47%, 89%) |
| CMYK | cmyk(0%, 9.3%, 46.9%, 11.4%) |
| CIE-LAB | lab(82.48, -3.86, 44.77) |
| CIE-LCH | lch(82.48, 44.94, 94.93°) |
| OKLab | oklab(84.77% -0.0111 0.1076) |
| OKLCH | oklch(84.77% 0.108 95.9) |
| XYZ | xyz(56.5872, 61.1896, 26.5957) |
| Luminance | 0.6119 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 1.09
Sandy
#F1DA7A
ΔE00 3.45
Wheat (survey)
#FBDD7E
ΔE00 4.82
Light Mustard
#F7D560
ΔE00 5.73
Pale Gold
#FDDE6C
ΔE00 6.15
Khaki (CSS)
#F0E68C
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2CD78 #788DE2
analogous
#E29878 #E2CD78 #C2E278
triadic
#E2CD78 #78E2CD #CD78E2
tetradic
#E2CD78 #78E298 #788DE2 #E278C2
square
#E2CD78 #78E298 #788DE2 #E278C2
split-complementary
#E2CD78 #78C2E2 #9878E2
monochromatic
#B89B28 #D7BA46 #E2CD78 #EDE0AA #F8F2DD
Accessibility & contrast
On white
1.59
#E2CD78 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.24
#E2CD78 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2CD78
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2CD78 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2CD78 | 1.00 | 1.59 | 13.24 | 13.24 |
| #FFFFFF | 1.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC971
Deuteranopia (green-blind)
#E2D07B
Tritanopia (blue-blind)
#F0C1B9
Achromatopsia (no color)
#CDCDCD
Design tokens & code
CSS
--color: #e2cd78; /* rgb */ color: rgb(226, 205, 120); /* oklch */ color: oklch(84.8% 0.108 95.9);
Tailwind
colors: {
custom: {
50: '#eddca0',
500: '#e2cd78',
950: '#000000',
},
}SCSS
$custom: #e2cd78; $custom-light: #eddca0; $custom-dark: #000000;
JSON
{
"hex": "#e2cd78",
"rgb": {
"r": 226,
"g": 205,
"b": 120
},
"hsl": {
"h": 48.113,
"s": 64.634,
"l": 67.843
},
"oklch": {
"l": 0.84768,
"c": 0.10817,
"h": 95.9
},
"luminance": 0.61187
}Semantic roles & 50–950 ramp
primary
#E2CD78
secondary
#465CB9
accent
#3DCC19
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17150F
muted
#858480