#E7CC6A#E7CC6A
#E7CC6A is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.8% C 0.122 H 94.2°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #E7CC6A |
|---|---|
| RGB | rgb(231, 204, 106) |
| HSL | hsl(47, 72%, 66%) |
| HSV | hsv(47, 54%, 91%) |
| CMYK | cmyk(0%, 11.7%, 54.1%, 9.4%) |
| CIE-LAB | lab(82.50, -2.53, 51.69) |
| CIE-LCH | lch(82.50, 51.75, 92.80°) |
| OKLab | oklab(84.83% -0.009 0.1216) |
| OKLCH | oklch(84.83% 0.122 94.2) |
| XYZ | xyz(57.1515, 61.2178, 22.4387) |
| Luminance | 0.6121 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.25
Sandy
#F1DA7A
ΔE00 3.34
Light Mustard
#F7D560
ΔE00 3.65
Maize
#F4D054
ΔE00 3.93
Wheat (survey)
#FBDD7E
ΔE00 4.20
Pale Gold
#FDDE6C
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7CC6A #6A85E7
analogous
#E78D6A #E7CC6A #C3E76A
triadic
#E7CC6A #6AE7CC #CC6AE7
tetradic
#E7CC6A #6AE78D #6A85E7 #E76AC3
square
#E7CC6A #6AE78D #6A85E7 #E76AC3
split-complementary
#E7CC6A #6AC3E7 #8D6AE7
monochromatic
#B9971E #DFBA35 #E7CC6A #EFDE9F #F8F0D3
Accessibility & contrast
On white
1.59
#E7CC6A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.24
#E7CC6A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7CC6A
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7CC6A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7CC6A | 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)
#DEC861
Deuteranopia (green-blind)
#E5D16E
Tritanopia (blue-blind)
#F7BFB6
Achromatopsia (no color)
#CDCDCD
Design tokens & code
CSS
--color: #e7cc6a; /* rgb */ color: rgb(231, 204, 106); /* oklch */ color: oklch(84.8% 0.122 94.2);
Tailwind
colors: {
custom: {
50: '#f1db97',
500: '#e7cc6a',
950: '#000000',
},
}SCSS
$custom: #e7cc6a; $custom-light: #f1db97; $custom-dark: #000000;
JSON
{
"hex": "#e7cc6a",
"rgb": {
"r": 231,
"g": 204,
"b": 106
},
"hsl": {
"h": 47.04,
"s": 72.254,
"l": 66.078
},
"oklch": {
"l": 0.84829,
"c": 0.12192,
"h": 94.2
},
"luminance": 0.61215
}Semantic roles & 50–950 ramp
primary
#E7CC6A
secondary
#3D57B9
accent
#3BD411
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F