#E7CF5F#E7CF5F
#E7CF5F is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.3% C 0.134 H 97.3°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).
Color values
| HEX | #E7CF5F |
|---|---|
| RGB | rgb(231, 207, 95) |
| HSL | hsl(49, 74%, 64%) |
| HSV | hsv(49, 59%, 91%) |
| CMYK | cmyk(0%, 10.4%, 58.9%, 9.4%) |
| CIE-LAB | lab(83.15, -4.89, 57.53) |
| CIE-LCH | lch(83.15, 57.74, 94.86°) |
| OKLab | oklab(85.31% -0.0171 0.133) |
| OKLCH | oklch(85.31% 0.134 97.3) |
| XYZ | xyz(57.3357, 62.4434, 19.8569) |
| Luminance | 0.6244 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 3.21
Maize
#F4D054
ΔE00 3.42
Sandy
#F1DA7A
ΔE00 3.46
Dull Yellow
#EEDC5B
ΔE00 3.70
Pale Gold
#FDDE6C
ΔE00 4.13
Sand (survey)
#E2CA76
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7CF5F #5F77E7
analogous
#E78B5F #E7CF5F #BBE75F
triadic
#E7CF5F #5FE7CF #CF5FE7
tetradic
#E7CF5F #5FE78B #5F77E7 #E75FBB
square
#E7CF5F #5FE78B #5F77E7 #E75FBB
split-complementary
#E7CF5F #5FBBE7 #8B5FE7
monochromatic
#B1961B #DFBF2A #E7CF5F #EFDF94 #F7EFC9
Accessibility & contrast
On white
1.56
#E7CF5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.49
#E7CF5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7CF5F
13.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7CF5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7CF5F | 1.00 | 1.56 | 13.49 | 13.49 |
| #FFFFFF | 1.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1CA53
Deuteranopia (green-blind)
#E8D364
Tritanopia (blue-blind)
#F8C1B6
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #e7cf5f; /* rgb */ color: rgb(231, 207, 95); /* oklch */ color: oklch(85.3% 0.134 97.3);
Tailwind
colors: {
custom: {
50: '#f2dd90',
500: '#e7cf5f',
950: '#000000',
},
}SCSS
$custom: #e7cf5f; $custom-light: #f2dd90; $custom-dark: #000000;
JSON
{
"hex": "#e7cf5f",
"rgb": {
"r": 231,
"g": 207,
"b": 95
},
"hsl": {
"h": 49.412,
"s": 73.913,
"l": 63.922
},
"oklch": {
"l": 0.85309,
"c": 0.13407,
"h": 97.3
},
"luminance": 0.62441
}Semantic roles & 50–950 ramp
primary
#E7CF5F
secondary
#394EB2
accent
#33D60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F