#E8CF5B#E8CF5B
#E8CF5B is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.4% C 0.138 H 97.2°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).
Color values
| HEX | #E8CF5B |
|---|---|
| RGB | rgb(232, 207, 91) |
| HSL | hsl(49, 75%, 63%) |
| HSV | hsv(49, 61%, 91%) |
| CMYK | cmyk(0%, 10.8%, 60.8%, 9%) |
| CIE-LAB | lab(83.20, -4.75, 59.39) |
| CIE-LCH | lch(83.20, 59.58, 94.57°) |
| OKLab | oklab(85.36% -0.0172 0.1364) |
| OKLCH | oklch(85.36% 0.138 97.2) |
| XYZ | xyz(57.4823, 62.5394, 18.9390) |
| Luminance | 0.6254 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 2.97
Maize
#F4D054
ΔE00 3.05
Dull Yellow
#EEDC5B
ΔE00 3.59
Sandy
#F1DA7A
ΔE00 3.79
Light Gold
#FDDC5C
ΔE00 3.99
Pale Gold
#FDDE6C
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8CF5B #5B74E8
analogous
#E8885B #E8CF5B #BAE85B
triadic
#E8CF5B #5BE8CF #CF5BE8
tetradic
#E8CF5B #5BE888 #5B74E8 #E85BBA
square
#E8CF5B #5BE888 #5B74E8 #E85BBA
split-complementary
#E8CF5B #5BBAE8 #885BE8
monochromatic
#B09519 #E0BF25 #E8CF5B #F0DF91 #F7EEC6
Accessibility & contrast
On white
1.55
#E8CF5B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.51
#E8CF5B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8CF5B
13.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8CF5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8CF5B | 1.00 | 1.55 | 13.51 | 13.51 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CA4E
Deuteranopia (green-blind)
#E8D361
Tritanopia (blue-blind)
#F9C1B6
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #e8cf5b; /* rgb */ color: rgb(232, 207, 91); /* oklch */ color: oklch(85.4% 0.138 97.2);
Tailwind
colors: {
custom: {
50: '#f2dd8e',
500: '#e8cf5b',
950: '#000000',
},
}SCSS
$custom: #e8cf5b; $custom-light: #f2dd8e; $custom-dark: #000000;
JSON
{
"hex": "#e8cf5b",
"rgb": {
"r": 232,
"g": 207,
"b": 91
},
"hsl": {
"h": 49.362,
"s": 75.401,
"l": 63.333
},
"oklch": {
"l": 0.85358,
"c": 0.13751,
"h": 97.2
},
"luminance": 0.62537
}Semantic roles & 50–950 ramp
primary
#E8CF5B
secondary
#374CB1
accent
#32D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F