#E2C255#E2C255
#E2C255 is a very light, vivid yellow. Relative luminance 0.554; OKLCH L 82.1% C 0.132 H 92.9°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #E2C255 |
|---|---|
| RGB | rgb(226, 194, 85) |
| HSL | hsl(46, 71%, 61%) |
| HSV | hsv(46, 62%, 89%) |
| CMYK | cmyk(0%, 14.2%, 62.4%, 11.4%) |
| CIE-LAB | lab(79.28, -0.96, 57.57) |
| CIE-LCH | lch(79.28, 57.58, 90.96°) |
| OKLab | oklab(82.11% -0.0066 0.1319) |
| OKLCH | oklch(82.11% 0.132 92.9) |
| XYZ | xyz(52.2979, 55.4109, 16.5333) |
| Luminance | 0.5541 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 3.94
Sand (survey)
#E2CA76
ΔE00 4.40
Mustard
#DBB42C
ΔE00 4.58
Light Mustard
#F7D560
ΔE00 4.69
Gold (survey)
#DBB40C
ΔE00 5.68
Dark Yellow
#D5B60A
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2C255 #5575E2
analogous
#E27B55 #E2C255 #BBE255
triadic
#E2C255 #55E2C2 #C255E2
tetradic
#E2C255 #55E27B #5575E2 #E255BB
square
#E2C255 #55E27B #5575E2 #E255BB
split-complementary
#E2C255 #55BBE2 #7B55E2
monochromatic
#A1831B #D5AD24 #E2C255 #EBD589 #F4E8BE
Accessibility & contrast
On white
1.74
#E2C255 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.08
#E2C255 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2C255
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2C255 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2C255 | 1.00 | 1.74 | 12.08 | 12.08 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BF49
Deuteranopia (green-blind)
#DDC85A
Tritanopia (blue-blind)
#F3B4AA
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #e2c255; /* rgb */ color: rgb(226, 194, 85); /* oklch */ color: oklch(82.1% 0.132 92.9);
Tailwind
colors: {
custom: {
50: '#eed489',
500: '#e2c255',
950: '#000000',
},
}SCSS
$custom: #e2c255; $custom-light: #eed489; $custom-dark: #000000;
JSON
{
"hex": "#e2c255",
"rgb": {
"r": 226,
"g": 194,
"b": 85
},
"hsl": {
"h": 46.383,
"s": 70.854,
"l": 60.98
},
"oklch": {
"l": 0.82111,
"c": 0.13206,
"h": 92.9
},
"luminance": 0.55408
}Semantic roles & 50–950 ramp
primary
#E2C255
secondary
#3750A4
accent
#3ED313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F