#E0C366#E0C366
#E0C366 is a very light, moderate yellow. Relative luminance 0.558; OKLCH L 82.3% C 0.118 H 92.4°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #E0C366 |
|---|---|
| RGB | rgb(224, 195, 102) |
| HSL | hsl(46, 66%, 64%) |
| HSV | hsv(46, 54%, 88%) |
| CMYK | cmyk(0%, 12.9%, 54.5%, 12.2%) |
| CIE-LAB | lab(79.52, -1.08, 49.93) |
| CIE-LCH | lch(79.52, 49.94, 91.24°) |
| OKLab | oklab(82.32% -0.0048 0.1175) |
| OKLCH | oklch(82.32% 0.118 92.4) |
| XYZ | xyz(52.6559, 55.8393, 20.5723) |
| Luminance | 0.5584 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.47
Maize
#F4D054
ΔE00 5.22
Light Mustard
#F7D560
ΔE00 5.41
Sandy
#F1DA7A
ΔE00 5.52
Wheat (survey)
#FBDD7E
ΔE00 6.15
Desert
#CCAD60
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E0C366 #6683E0
analogous
#E08666 #E0C366 #C0E066
triadic
#E0C366 #66E0C3 #C366E0
tetradic
#E0C366 #66E086 #6683E0 #E066C0
square
#E0C366 #66E086 #6683E0 #E066C0
split-complementary
#E0C366 #66C0E0 #8666E0
monochromatic
#A98922 #D6AF33 #E0C366 #EAD799 #F5EBCC
Accessibility & contrast
On white
1.73
#E0C366 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.17
#E0C366 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E0C366
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E0C366 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E0C366 | 1.00 | 1.73 | 12.17 | 12.17 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C05D
Deuteranopia (green-blind)
#DCC96A
Tritanopia (blue-blind)
#F0B6AE
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #e0c366; /* rgb */ color: rgb(224, 195, 102); /* oklch */ color: oklch(82.3% 0.118 92.4);
Tailwind
colors: {
custom: {
50: '#ecd494',
500: '#e0c366',
950: '#000000',
},
}SCSS
$custom: #e0c366; $custom-light: #ecd494; $custom-dark: #000000;
JSON
{
"hex": "#e0c366",
"rgb": {
"r": 224,
"g": 195,
"b": 102
},
"hsl": {
"h": 45.738,
"s": 66.304,
"l": 63.922
},
"oklch": {
"l": 0.82317,
"c": 0.1176,
"h": 92.4
},
"luminance": 0.55837
}Semantic roles & 50–950 ramp
primary
#E0C366
secondary
#3F59AB
accent
#43CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F