#E2CA6D#E2CA6D
#E2CA6D is a very light, moderate yellow. Relative luminance 0.595; OKLCH L 84.0% C 0.117 H 95.2°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).
Color values
| HEX | #E2CA6D |
|---|---|
| RGB | rgb(226, 202, 109) |
| HSL | hsl(48, 67%, 66%) |
| HSV | hsv(48, 52%, 89%) |
| CMYK | cmyk(0%, 10.6%, 51.8%, 11.4%) |
| CIE-LAB | lab(81.57, -3.30, 49.05) |
| CIE-LCH | lch(81.57, 49.16, 93.85°) |
| OKLab | oklab(84.01% -0.0106 0.1162) |
| OKLCH | oklch(84.01% 0.117 95.2) |
| XYZ | xyz(55.2468, 59.5163, 23.0427) |
| Luminance | 0.5951 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 1.43
Sandy
#F1DA7A
ΔE00 3.73
Light Mustard
#F7D560
ΔE00 4.80
Wheat (survey)
#FBDD7E
ΔE00 4.92
Maize
#F4D054
ΔE00 5.07
Pale Gold
#FDDE6C
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2CA6D #6D85E2
analogous
#E28F6D #E2CA6D #C0E26D
triadic
#E2CA6D #6DE2CA #CA6DE2
tetradic
#E2CA6D #6DE28F #6D85E2 #E26DC0
square
#E2CA6D #6DE28F #6D85E2 #E26DC0
split-complementary
#E2CA6D #6DC0E2 #8F6DE2
monochromatic
#B19423 #D8B73A #E2CA6D #ECDDA0 #F6EFD3
Accessibility & contrast
On white
1.63
#E2CA6D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.90
#E2CA6D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2CA6D
12.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2CA6D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2CA6D | 1.00 | 1.63 | 12.90 | 12.90 |
| #FFFFFF | 1.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC665
Deuteranopia (green-blind)
#E1CE71
Tritanopia (blue-blind)
#F1BEB4
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #e2ca6d; /* rgb */ color: rgb(226, 202, 109); /* oklch */ color: oklch(84.0% 0.117 95.2);
Tailwind
colors: {
custom: {
50: '#edd999',
500: '#e2ca6d',
950: '#000000',
},
}SCSS
$custom: #e2ca6d; $custom-light: #edd999; $custom-dark: #000000;
JSON
{
"hex": "#e2ca6d",
"rgb": {
"r": 226,
"g": 202,
"b": 109
},
"hsl": {
"h": 47.692,
"s": 66.857,
"l": 65.686
},
"oklch": {
"l": 0.84007,
"c": 0.11667,
"h": 95.2
},
"luminance": 0.59514
}Semantic roles & 50–950 ramp
primary
#E2CA6D
secondary
#4158B3
accent
#3CCF17
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F