#E7CC6D#E7CC6D
#E7CC6D is a very light, moderate yellow. Relative luminance 0.613; OKLCH L 84.9% C 0.119 H 93.8°. Best body text is #000000 at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #E7CC6D |
|---|---|
| RGB | rgb(231, 204, 109) |
| HSL | hsl(47, 72%, 67%) |
| HSV | hsv(47, 53%, 91%) |
| CMYK | cmyk(0%, 11.7%, 52.8%, 9.4%) |
| CIE-LAB | lab(82.53, -2.29, 50.30) |
| CIE-LCH | lch(82.53, 50.35, 92.60°) |
| OKLab | oklab(84.87% -0.008 0.1188) |
| OKLCH | oklch(84.87% 0.119 93.8) |
| XYZ | xyz(57.3103, 61.2813, 23.2748) |
| Luminance | 0.6128 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 1.87
Sandy
#F1DA7A
ΔE00 3.32
Light Mustard
#F7D560
ΔE00 3.91
Wheat (survey)
#FBDD7E
ΔE00 4.13
Maize
#F4D054
ΔE00 4.26
Pale Gold
#FDDE6C
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7CC6D #6D88E7
analogous
#E78F6D #E7CC6D #C5E76D
triadic
#E7CC6D #6DE7CC #CC6DE7
tetradic
#E7CC6D #6DE78F #6D88E7 #E76DC5
square
#E7CC6D #6DE78F #6D88E7 #E76DC5
split-complementary
#E7CC6D #6DC5E7 #8F6DE7
monochromatic
#BB981F #DEBA38 #E7CC6D #F0DEA2 #F8F1D6
Accessibility & contrast
On white
1.58
#E7CC6D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.26
#E7CC6D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7CC6D
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7CC6D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7CC6D | 1.00 | 1.58 | 13.26 | 13.26 |
| #FFFFFF | 1.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC964
Deuteranopia (green-blind)
#E4D171
Tritanopia (blue-blind)
#F7BFB6
Achromatopsia (no color)
#CDCDCD
Design tokens & code
CSS
--color: #e7cc6d; /* rgb */ color: rgb(231, 204, 109); /* oklch */ color: oklch(84.9% 0.119 93.8);
Tailwind
colors: {
custom: {
50: '#f1db99',
500: '#e7cc6d',
950: '#000000',
},
}SCSS
$custom: #e7cc6d; $custom-light: #f1db99; $custom-dark: #000000;
JSON
{
"hex": "#e7cc6d",
"rgb": {
"r": 231,
"g": 204,
"b": 109
},
"hsl": {
"h": 46.721,
"s": 71.765,
"l": 66.667
},
"oklch": {
"l": 0.84867,
"c": 0.11911,
"h": 93.8
},
"luminance": 0.61279
}Semantic roles & 50–950 ramp
primary
#E7CC6D
secondary
#3E59BA
accent
#3DD412
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F