#EFE8A2#EFE8A2
#EFE8A2 is a very light, moderate yellow. Relative luminance 0.787; OKLCH L 92.0% C 0.089 H 103.1°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).
Color values
| HEX | #EFE8A2 |
|---|---|
| RGB | rgb(239, 232, 162) |
| HSL | hsl(55, 71%, 79%) |
| HSV | hsv(55, 32%, 94%) |
| CMYK | cmyk(0%, 2.9%, 32.2%, 6.3%) |
| CIE-LAB | lab(91.09, -7.96, 34.97) |
| CIE-LCH | lch(91.09, 35.87, 102.82°) |
| OKLab | oklab(92.04% -0.0203 0.087) |
| OKLCH | oklch(92.04% 0.089 103.1) |
| XYZ | xyz(70.9755, 78.6741, 45.6222) |
| Luminance | 0.7867 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Palegoldenrod
#EEE8AA
ΔE00 1.62
Light Tan
#FBEEAC
ΔE00 2.52
Vanilla
#F3E5AB
ΔE00 3.31
Khaki (CSS)
#F0E68C
ΔE00 3.63
Buff
#FEF69E
ΔE00 4.16
Dark Cream
#FFF39A
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EFE8A2 #A2A9EF
analogous
#EFC1A2 #EFE8A2 #CFEFA2
triadic
#EFE8A2 #A2EFE8 #E8A2EF
tetradic
#EFE8A2 #A2EFC1 #A2A9EF #EFA2CF
square
#EFE8A2 #A2EFC1 #A2A9EF #EFA2CF
split-complementary
#EFE8A2 #A2CFEF #C1A2EF
monochromatic
#DDCE3A #E6DB6E #EFE8A2 #F8F5D6 #FBF9E5
Accessibility & contrast
On white
1.25
#EFE8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.73
#EFE8A2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EFE8A2
16.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EFE8A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EFE8A2 | 1.00 | 1.25 | 16.73 | 16.73 |
| #FFFFFF | 1.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4E39D
Deuteranopia (green-blind)
#F7E7A5
Tritanopia (blue-blind)
#FADFD6
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #efe8a2; /* rgb */ color: rgb(239, 232, 162); /* oklch */ color: oklch(92.0% 0.089 103.1);
Tailwind
colors: {
custom: {
50: '#f5efbe',
500: '#efe8a2',
950: '#000000',
},
}SCSS
$custom: #efe8a2; $custom-light: #f5efbe; $custom-dark: #000000;
JSON
{
"hex": "#efe8a2",
"rgb": {
"r": 239,
"g": 232,
"b": 162
},
"hsl": {
"h": 54.545,
"s": 70.642,
"l": 78.627
},
"oklch": {
"l": 0.92037,
"c": 0.08932,
"h": 103.1
},
"luminance": 0.78673
}Semantic roles & 50–950 ramp
primary
#EFE8A2
secondary
#6972CC
accent
#24D313
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171612
muted
#858582