#E7CB5E#E7CB5E
#E7CB5E is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.5% C 0.132 H 95.0°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).
Color values
| HEX | #E7CB5E |
|---|---|
| RGB | rgb(231, 203, 94) |
| HSL | hsl(48, 74%, 64%) |
| HSV | hsv(48, 59%, 91%) |
| CMYK | cmyk(0%, 12.1%, 59.3%, 9.4%) |
| CIE-LAB | lab(82.12, -2.91, 56.82) |
| CIE-LCH | lch(82.12, 56.89, 92.94°) |
| OKLab | oklab(84.49% -0.0115 0.1313) |
| OKLCH | oklch(84.49% 0.132 95) |
| XYZ | xyz(56.3337, 60.5116, 19.3001) |
| Luminance | 0.6051 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.94
Light Mustard
#F7D560
ΔE00 3.08
Sand (survey)
#E2CA76
ΔE00 3.68
Sandy
#F1DA7A
ΔE00 4.06
Pale Gold
#FDDE6C
ΔE00 4.56
Light Gold
#FDDC5C
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7CB5E #5E7AE7
analogous
#E7865E #E7CB5E #BEE75E
triadic
#E7CB5E #5EE7CB #CB5EE7
tetradic
#E7CB5E #5EE786 #5E7AE7 #E75EBE
square
#E7CB5E #5EE786 #5E7AE7 #E75EBE
split-complementary
#E7CB5E #5EBEE7 #865EE7
monochromatic
#B0921A #DFBA29 #E7CB5E #EFDC93 #F7EDC9
Accessibility & contrast
On white
1.60
#E7CB5E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.10
#E7CB5E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7CB5E
13.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7CB5E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7CB5E | 1.00 | 1.60 | 13.10 | 13.10 |
| #FFFFFF | 1.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DEC753
Deuteranopia (green-blind)
#E5D063
Tritanopia (blue-blind)
#F8BDB3
Achromatopsia (no color)
#CCCCCC
Design tokens & code
CSS
--color: #e7cb5e; /* rgb */ color: rgb(231, 203, 94); /* oklch */ color: oklch(84.5% 0.132 95.0);
Tailwind
colors: {
custom: {
50: '#f2da8f',
500: '#e7cb5e',
950: '#000000',
},
}SCSS
$custom: #e7cb5e; $custom-light: #f2da8f; $custom-dark: #000000;
JSON
{
"hex": "#e7cb5e",
"rgb": {
"r": 231,
"g": 203,
"b": 94
},
"hsl": {
"h": 47.737,
"s": 74.054,
"l": 63.725
},
"oklch": {
"l": 0.84488,
"c": 0.13183,
"h": 95
},
"luminance": 0.60509
}Semantic roles & 50–950 ramp
primary
#E7CB5E
secondary
#3851B1
accent
#38D60F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F