#E7D466#E7D466
#E7D466 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.4% C 0.132 H 99.6°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D466 |
|---|---|
| RGB | rgb(231, 212, 102) |
| HSL | hsl(51, 73%, 65%) |
| HSV | hsv(51, 56%, 91%) |
| CMYK | cmyk(0%, 8.2%, 55.8%, 9.4%) |
| CIE-LAB | lab(84.50, -6.92, 55.89) |
| CIE-LCH | lch(84.50, 56.32, 97.06°) |
| OKLab | oklab(86.4% -0.0221 0.1303) |
| OKLCH | oklch(86.4% 0.132 99.6) |
| XYZ | xyz(58.8989, 65.0375, 22.0188) |
| Luminance | 0.6503 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.79
Sandy
#F1DA7A
ΔE00 2.85
Sand Yellow
#FCE166
ΔE00 4.05
Light Mustard
#F7D560
ΔE00 4.13
Pale Gold
#FDDE6C
ΔE00 4.19
Yellow Tan
#FFE36E
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D466 #6679E7
analogous
#E79466 #E7D466 #B9E766
triadic
#E7D466 #66E7D4 #D466E7
tetradic
#E7D466 #66E794 #6679E7 #E766B9
square
#E7D466 #66E794 #6679E7 #E766B9
split-complementary
#E7D466 #66B9E7 #9466E7
monochromatic
#B69F1D #DFC531 #E7D466 #EFE39B #F8F2D0
Accessibility & contrast
On white
1.50
#E7D466 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.01
#E7D466 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D466
14.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D466 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D466 | 1.00 | 1.50 | 14.01 | 14.01 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CF5B
Deuteranopia (green-blind)
#EBD66B
Tritanopia (blue-blind)
#F7C7BB
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e7d466; /* rgb */ color: rgb(231, 212, 102); /* oklch */ color: oklch(86.4% 0.132 99.6);
Tailwind
colors: {
custom: {
50: '#f1e195',
500: '#e7d466',
950: '#000000',
},
}SCSS
$custom: #e7d466; $custom-light: #f1e195; $custom-dark: #000000;
JSON
{
"hex": "#e7d466",
"rgb": {
"r": 231,
"g": 212,
"b": 102
},
"hsl": {
"h": 51.163,
"s": 72.881,
"l": 65.294
},
"oklch": {
"l": 0.86404,
"c": 0.13214,
"h": 99.6
},
"luminance": 0.65035
}Semantic roles & 50–950 ramp
primary
#E7D466
secondary
#3B4DB6
accent
#2DD511
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F