#E8CF5F#E8CF5F
#E8CF5F is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.4% C 0.134 H 96.8°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #E8CF5F |
|---|---|
| RGB | rgb(232, 207, 95) |
| HSL | hsl(49, 75%, 64%) |
| HSV | hsv(49, 59%, 91%) |
| CMYK | cmyk(0%, 10.8%, 59.1%, 9%) |
| CIE-LAB | lab(83.24, -4.48, 57.65) |
| CIE-LCH | lch(83.24, 57.83, 94.44°) |
| OKLab | oklab(85.4% -0.016 0.1332) |
| OKLCH | oklch(85.4% 0.134 96.8) |
| XYZ | xyz(57.6594, 62.6103, 19.8721) |
| Luminance | 0.6261 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 2.97
Maize
#F4D054
ΔE00 3.17
Sandy
#F1DA7A
ΔE00 3.44
Dull Yellow
#EEDC5B
ΔE00 3.81
Pale Gold
#FDDE6C
ΔE00 3.98
Sand (survey)
#E2CA76
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8CF5F #5F78E8
analogous
#E88B5F #E8CF5F #BDE85F
triadic
#E8CF5F #5FE8CF #CF5FE8
tetradic
#E8CF5F #5FE88B #5F78E8 #E85FBD
square
#E8CF5F #5FE88B #5F78E8 #E85FBD
split-complementary
#E8CF5F #5FBDE8 #8B5FE8
monochromatic
#B3971A #E0BF29 #E8CF5F #F0DF95 #F7EFCA
Accessibility & contrast
On white
1.55
#E8CF5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.52
#E8CF5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8CF5F
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8CF5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8CF5F | 1.00 | 1.55 | 13.52 | 13.52 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1CB53
Deuteranopia (green-blind)
#E8D364
Tritanopia (blue-blind)
#F9C1B6
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #e8cf5f; /* rgb */ color: rgb(232, 207, 95); /* oklch */ color: oklch(85.4% 0.134 96.8);
Tailwind
colors: {
custom: {
50: '#f2dd90',
500: '#e8cf5f',
950: '#000000',
},
}SCSS
$custom: #e8cf5f; $custom-light: #f2dd90; $custom-dark: #000000;
JSON
{
"hex": "#e8cf5f",
"rgb": {
"r": 232,
"g": 207,
"b": 95
},
"hsl": {
"h": 49.051,
"s": 74.863,
"l": 64.118
},
"oklch": {
"l": 0.85399,
"c": 0.13417,
"h": 96.8
},
"luminance": 0.62608
}Semantic roles & 50–950 ramp
primary
#E8CF5F
secondary
#384EB3
accent
#33D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F