#E7CB4E#E7CB4E
#E7CB4E is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.3% C 0.144 H 96.5°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).
Color values
| HEX | #E7CB4E |
|---|---|
| RGB | rgb(231, 203, 78) |
| HSL | hsl(49, 76%, 61%) |
| HSV | hsv(49, 66%, 91%) |
| CMYK | cmyk(0%, 12.1%, 66.2%, 9.4%) |
| CIE-LAB | lab(81.98, -3.92, 63.60) |
| CIE-LCH | lch(81.98, 63.72, 93.53°) |
| OKLab | oklab(84.33% -0.0163 0.1435) |
| OKLCH | oklch(84.33% 0.144 96.5) |
| XYZ | xyz(55.6887, 60.2536, 15.9031) |
| Luminance | 0.6025 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.62
Light Mustard
#F7D560
ΔE00 3.26
Light Gold
#FDDC5C
ΔE00 4.30
Dull Yellow
#EEDC5B
ΔE00 4.49
Pale Gold
#FDDE6C
ΔE00 4.83
Sand Yellow
#FCE166
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7CB4E #4E6AE7
analogous
#E77F4E #E7CB4E #B6E74E
triadic
#E7CB4E #4EE7CB #CB4EE7
tetradic
#E7CB4E #4EE77F #4E6AE7 #E74EB6
square
#E7CB4E #4EE77F #4E6AE7 #E74EB6
split-complementary
#E7CB4E #4EB6E7 #7F4EE7
monochromatic
#A48A16 #DAB81E #E7CB4E #EEDB84 #F6EBBA
Accessibility & contrast
On white
1.61
#E7CB4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.05
#E7CB4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7CB4E
13.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7CB4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7CB4E | 1.00 | 1.61 | 13.05 | 13.05 |
| #FFFFFF | 1.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFC73E
Deuteranopia (green-blind)
#E6D055
Tritanopia (blue-blind)
#F9BCB1
Achromatopsia (no color)
#CCCCCC
Design tokens & code
CSS
--color: #e7cb4e; /* rgb */ color: rgb(231, 203, 78); /* oklch */ color: oklch(84.3% 0.144 96.5);
Tailwind
colors: {
custom: {
50: '#f2da85',
500: '#e7cb4e',
950: '#000000',
},
}SCSS
$custom: #e7cb4e; $custom-light: #f2da85; $custom-dark: #000000;
JSON
{
"hex": "#e7cb4e",
"rgb": {
"r": 231,
"g": 203,
"b": 78
},
"hsl": {
"h": 49.02,
"s": 76.119,
"l": 60.588
},
"oklch": {
"l": 0.84333,
"c": 0.14441,
"h": 96.5
},
"luminance": 0.60251
}Semantic roles & 50–950 ramp
primary
#E7CB4E
secondary
#3348A6
accent
#32D80D
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E