#E7CF6F#E7CF6F
#E7CF6F is a very light, moderate yellow. Relative luminance 0.628; OKLCH L 85.5% C 0.120 H 95.6°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).
Color values
| HEX | #E7CF6F |
|---|---|
| RGB | rgb(231, 207, 111) |
| HSL | hsl(48, 71%, 67%) |
| HSV | hsv(48, 52%, 91%) |
| CMYK | cmyk(0%, 10.4%, 51.9%, 9.4%) |
| CIE-LAB | lab(83.32, -3.66, 50.28) |
| CIE-LCH | lch(83.32, 50.41, 94.16°) |
| OKLab | oklab(85.5% -0.0117 0.119) |
| OKLCH | oklch(85.5% 0.12 95.6) |
| XYZ | xyz(58.1391, 62.7647, 24.0882) |
| Luminance | 0.6276 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.15
Sandy
#F1DA7A
ΔE00 2.54
Wheat (survey)
#FBDD7E
ΔE00 3.86
Light Mustard
#F7D560
ΔE00 3.96
Maize
#F4D054
ΔE00 4.52
Pale Gold
#FDDE6C
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7CF6F #6F87E7
analogous
#E7936F #E7CF6F #C3E76F
triadic
#E7CF6F #6FE7CF #CF6FE7
tetradic
#E7CF6F #6FE793 #6F87E7 #E76FC3
square
#E7CF6F #6FE793 #6F87E7 #E76FC3
split-complementary
#E7CF6F #6FC3E7 #936FE7
monochromatic
#BC9D1F #DEBE3B #E7CF6F #F0E0A3 #F8F2D8
Accessibility & contrast
On white
1.55
#E7CF6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.55
#E7CF6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7CF6F
13.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7CF6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7CF6F | 1.00 | 1.55 | 13.55 | 13.55 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0CB66
Deuteranopia (green-blind)
#E6D373
Tritanopia (blue-blind)
#F7C2B9
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e7cf6f; /* rgb */ color: rgb(231, 207, 111); /* oklch */ color: oklch(85.5% 0.120 95.6);
Tailwind
colors: {
custom: {
50: '#f1dd9a',
500: '#e7cf6f',
950: '#000000',
},
}SCSS
$custom: #e7cf6f; $custom-light: #f1dd9a; $custom-dark: #000000;
JSON
{
"hex": "#e7cf6f",
"rgb": {
"r": 231,
"g": 207,
"b": 111
},
"hsl": {
"h": 48,
"s": 71.429,
"l": 67.059
},
"oklch": {
"l": 0.85498,
"c": 0.11956,
"h": 95.6
},
"luminance": 0.62762
}Semantic roles & 50–950 ramp
primary
#E7CF6F
secondary
#3F58BC
accent
#39D312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F