#E5CF5F#E5CF5F
#E5CF5F is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 85.1% C 0.134 H 98.3°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #E5CF5F |
|---|---|
| RGB | rgb(229, 207, 95) |
| HSL | hsl(50, 72%, 64%) |
| HSV | hsv(50, 59%, 90%) |
| CMYK | cmyk(0%, 9.6%, 58.5%, 10.2%) |
| CIE-LAB | lab(82.97, -5.72, 57.28) |
| CIE-LCH | lch(82.97, 57.57, 95.70°) |
| OKLab | oklab(85.13% -0.0193 0.1325) |
| OKLCH | oklch(85.13% 0.134 98.3) |
| XYZ | xyz(56.6937, 62.1123, 19.8268) |
| Luminance | 0.6211 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.55
Sandy
#F1DA7A
ΔE00 3.55
Light Mustard
#F7D560
ΔE00 3.71
Maize
#F4D054
ΔE00 3.94
Sand (survey)
#E2CA76
ΔE00 4.21
Pale Gold
#FDDE6C
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E5CF5F #5F75E5
analogous
#E58C5F #E5CF5F #B8E55F
triadic
#E5CF5F #5FE5CF #CF5FE5
tetradic
#E5CF5F #5FE58C #5F75E5 #E55FB8
square
#E5CF5F #5FE58C #5F75E5 #E55FB8
split-complementary
#E5CF5F #5FB8E5 #8C5FE5
monochromatic
#AD961C #DCBF2A #E5CF5F #EEDF94 #F6EFC8
Accessibility & contrast
On white
1.56
#E5CF5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.42
#E5CF5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E5CF5F
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E5CF5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E5CF5F | 1.00 | 1.56 | 13.42 | 13.42 |
| #FFFFFF | 1.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1CA53
Deuteranopia (green-blind)
#E7D264
Tritanopia (blue-blind)
#F5C1B6
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #e5cf5f; /* rgb */ color: rgb(229, 207, 95); /* oklch */ color: oklch(85.1% 0.134 98.3);
Tailwind
colors: {
custom: {
50: '#f0dd90',
500: '#e5cf5f',
950: '#000000',
},
}SCSS
$custom: #e5cf5f; $custom-light: #f0dd90; $custom-dark: #000000;
JSON
{
"hex": "#e5cf5f",
"rgb": {
"r": 229,
"g": 207,
"b": 95
},
"hsl": {
"h": 50.149,
"s": 72.043,
"l": 63.529
},
"oklch": {
"l": 0.85128,
"c": 0.1339,
"h": 98.3
},
"luminance": 0.6211
}Semantic roles & 50–950 ramp
primary
#E5CF5F
secondary
#3A4DAF
accent
#31D411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F