#E8CF6B#E8CF6B
#E8CF6B is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.5% C 0.123 H 95.6°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #E8CF6B |
|---|---|
| RGB | rgb(232, 207, 107) |
| HSL | hsl(48, 73%, 66%) |
| HSV | hsv(48, 54%, 91%) |
| CMYK | cmyk(0%, 10.8%, 53.9%, 9%) |
| CIE-LAB | lab(83.36, -3.58, 52.25) |
| CIE-LCH | lch(83.36, 52.38, 93.92°) |
| OKLab | oklab(85.54% -0.012 0.1229) |
| OKLCH | oklch(85.54% 0.123 95.6) |
| XYZ | xyz(58.2475, 62.8455, 22.9693) |
| Luminance | 0.6284 (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.45
Wheat (survey)
#FBDD7E
ΔE00 3.85
Maize
#F4D054
ΔE00 3.95
Pale Gold
#FDDE6C
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8CF6B #6B84E8
analogous
#E8916B #E8CF6B #C3E86B
triadic
#E8CF6B #6BE8CF #CF6BE8
tetradic
#E8CF6B #6BE891 #6B84E8 #E86BC3
square
#E8CF6B #6BE891 #6B84E8 #E86BC3
split-complementary
#E8CF6B #6BC3E8 #916BE8
monochromatic
#BB9C1D #E0BE36 #E8CF6B #F0E0A0 #F8F1D5
Accessibility & contrast
On white
1.55
#E8CF6B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.57
#E8CF6B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8CF6B
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8CF6B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8CF6B | 1.00 | 1.55 | 13.57 | 13.57 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1CB62
Deuteranopia (green-blind)
#E7D36F
Tritanopia (blue-blind)
#F8C2B8
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e8cf6b; /* rgb */ color: rgb(232, 207, 107); /* oklch */ color: oklch(85.5% 0.123 95.6);
Tailwind
colors: {
custom: {
50: '#f2dd98',
500: '#e8cf6b',
950: '#000000',
},
}SCSS
$custom: #e8cf6b; $custom-light: #f2dd98; $custom-dark: #000000;
JSON
{
"hex": "#e8cf6b",
"rgb": {
"r": 232,
"g": 207,
"b": 107
},
"hsl": {
"h": 48,
"s": 73.099,
"l": 66.471
},
"oklch": {
"l": 0.85538,
"c": 0.12348,
"h": 95.6
},
"luminance": 0.62843
}Semantic roles & 50–950 ramp
primary
#E8CF6B
secondary
#3C56BB
accent
#38D510
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F