#FFE8A2#FFE8A2
#FFE8A2 is a very light, moderate yellow. Relative luminance 0.816; OKLCH L 93.4% C 0.092 H 92.0°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).
Color values
| HEX | #FFE8A2 |
|---|---|
| RGB | rgb(255, 232, 162) |
| HSL | hsl(45, 100%, 82%) |
| HSV | hsv(45, 36%, 100%) |
| CMYK | cmyk(0%, 9%, 36.5%, 0%) |
| CIE-LAB | lab(92.39, -1.86, 36.93) |
| CIE-LCH | lch(92.39, 36.98, 92.89°) |
| OKLab | oklab(93.38% -0.0032 0.0915) |
| OKLCH | oklch(93.38% 0.092 92) |
| XYZ | xyz(76.6197, 81.5844, 45.8867) |
| Luminance | 0.8158 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Tan
#FBEEAC
ΔE00 3.11
Pale Peach
#FFE5AD
ΔE00 3.32
Vanilla
#F3E5AB
ΔE00 3.45
Wheat (survey)
#FBDD7E
ΔE00 5.01
Dark Cream
#FFF39A
ΔE00 5.06
Palegoldenrod
#EEE8AA
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFE8A2 #A2B9FF
analogous
#FFBAA2 #FFE8A2 #E8FFA2
triadic
#FFE8A2 #A2FFE8 #E8A2FF
tetradic
#FFE8A2 #A2FFBA #A2B9FF #FFA2E8
square
#FFE8A2 #A2FFBA #A2B9FF #FFA2E8
split-complementary
#FFE8A2 #A2E8FF #BAA2FF
monochromatic
#FFCA28 #FFD965 #FFE8A2 #FFF7DF #FFF7E0
Accessibility & contrast
On white
1.21
#FFE8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.32
#FFE8A2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFE8A2
17.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFE8A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFE8A2 | 1.00 | 1.21 | 17.32 | 17.32 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7E59D
Deuteranopia (green-blind)
#FDECA4
Tritanopia (blue-blind)
#FFDDD6
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #ffe8a2; /* rgb */ color: rgb(255, 232, 162); /* oklch */ color: oklch(93.4% 0.092 92.0);
Tailwind
colors: {
custom: {
50: '#ffefbe',
500: '#ffe8a2',
950: '#000000',
},
}SCSS
$custom: #ffe8a2; $custom-light: #ffefbe; $custom-dark: #000000;
JSON
{
"hex": "#ffe8a2",
"rgb": {
"r": 255,
"g": 232,
"b": 162
},
"hsl": {
"h": 45.161,
"s": 100,
"l": 81.765
},
"oklch": {
"l": 0.93382,
"c": 0.09154,
"h": 92
},
"luminance": 0.81582
}Semantic roles & 50–950 ramp
primary
#FFE8A2
secondary
#6282E3
accent
#39E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181612
muted
#868582