#E7CF6B#E7CF6B
#E7CF6B is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.4% C 0.123 H 96.1°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).
Color values
| HEX | #E7CF6B |
|---|---|
| RGB | rgb(231, 207, 107) |
| HSL | hsl(48, 72%, 66%) |
| HSV | hsv(48, 54%, 91%) |
| CMYK | cmyk(0%, 10.4%, 53.7%, 9.4%) |
| CIE-LAB | lab(83.27, -3.99, 52.13) |
| CIE-LCH | lch(83.27, 52.28, 94.38°) |
| OKLab | oklab(85.45% -0.0131 0.1227) |
| OKLCH | oklch(85.45% 0.123 96.1) |
| XYZ | xyz(57.9238, 62.6786, 22.9541) |
| Luminance | 0.6268 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.64
Sand (survey)
#E2CA76
ΔE00 2.65
Light Mustard
#F7D560
ΔE00 3.66
Wheat (survey)
#FBDD7E
ΔE00 4.00
Maize
#F4D054
ΔE00 4.15
Pale Gold
#FDDE6C
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7CF6B #6B83E7
analogous
#E7916B #E7CF6B #C1E76B
triadic
#E7CF6B #6BE7CF #CF6BE7
tetradic
#E7CF6B #6BE791 #6B83E7 #E76BC1
square
#E7CF6B #6BE791 #6B83E7 #E76BC1
split-complementary
#E7CF6B #6BC1E7 #916BE7
monochromatic
#BA9B1E #DEBE36 #E7CF6B #F0E0A0 #F8F1D4
Accessibility & contrast
On white
1.55
#E7CF6B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.54
#E7CF6B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7CF6B
13.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7CF6B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7CF6B | 1.00 | 1.55 | 13.54 | 13.54 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0CB62
Deuteranopia (green-blind)
#E7D36F
Tritanopia (blue-blind)
#F7C2B8
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #e7cf6b; /* rgb */ color: rgb(231, 207, 107); /* oklch */ color: oklch(85.4% 0.123 96.1);
Tailwind
colors: {
custom: {
50: '#f1dd98',
500: '#e7cf6b',
950: '#000000',
},
}SCSS
$custom: #e7cf6b; $custom-light: #f1dd98; $custom-dark: #000000;
JSON
{
"hex": "#e7cf6b",
"rgb": {
"r": 231,
"g": 207,
"b": 107
},
"hsl": {
"h": 48.387,
"s": 72.093,
"l": 66.275
},
"oklch": {
"l": 0.85447,
"c": 0.12335,
"h": 96.1
},
"luminance": 0.62676
}Semantic roles & 50–950 ramp
primary
#E7CF6B
secondary
#3D55B9
accent
#37D411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F