#E7CC5A#E7CC5A
#E7CC5A is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.6% C 0.136 H 96.0°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).
Color values
| HEX | #E7CC5A |
|---|---|
| RGB | rgb(231, 204, 90) |
| HSL | hsl(49, 75%, 63%) |
| HSV | hsv(49, 61%, 91%) |
| CMYK | cmyk(0%, 11.7%, 61%, 9.4%) |
| CIE-LAB | lab(82.33, -3.70, 58.85) |
| CIE-LCH | lch(82.33, 58.97, 93.60°) |
| OKLab | oklab(84.65% -0.0142 0.1352) |
| OKLCH | oklch(84.65% 0.136 96) |
| XYZ | xyz(56.3958, 60.9155, 18.4582) |
| Luminance | 0.6091 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.82
Light Mustard
#F7D560
ΔE00 3.01
Sandy
#F1DA7A
ΔE00 4.17
Sand (survey)
#E2CA76
ΔE00 4.26
Light Gold
#FDDC5C
ΔE00 4.37
Pale Gold
#FDDE6C
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7CC5A #5A75E7
analogous
#E7865A #E7CC5A #BBE75A
triadic
#E7CC5A #5AE7CC #CC5AE7
tetradic
#E7CC5A #5AE786 #5A75E7 #E75ABB
square
#E7CC5A #5AE786 #5A75E7 #E75ABB
split-complementary
#E7CC5A #5ABBE7 #865AE7
monochromatic
#AD9119 #DFBB25 #E7CC5A #EFDD8F #F7EDC5
Accessibility & contrast
On white
1.59
#E7CC5A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.18
#E7CC5A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7CC5A
13.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7CC5A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7CC5A | 1.00 | 1.59 | 13.18 | 13.18 |
| #FFFFFF | 1.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFC84E
Deuteranopia (green-blind)
#E6D15F
Tritanopia (blue-blind)
#F8BEB3
Achromatopsia (no color)
#CDCDCD
Design tokens & code
CSS
--color: #e7cc5a; /* rgb */ color: rgb(231, 204, 90); /* oklch */ color: oklch(84.6% 0.136 96.0);
Tailwind
colors: {
custom: {
50: '#f2db8d',
500: '#e7cc5a',
950: '#000000',
},
}SCSS
$custom: #e7cc5a; $custom-light: #f2db8d; $custom-dark: #000000;
JSON
{
"hex": "#e7cc5a",
"rgb": {
"r": 231,
"g": 204,
"b": 90
},
"hsl": {
"h": 48.511,
"s": 74.603,
"l": 62.941
},
"oklch": {
"l": 0.84648,
"c": 0.13592,
"h": 96
},
"luminance": 0.60913
}Semantic roles & 50–950 ramp
primary
#E7CC5A
secondary
#374EAE
accent
#35D70F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F