#EFE2A2#EFE2A2
#EFE2A2 is a very light, moderate yellow. Relative luminance 0.754; OKLCH L 90.8% C 0.083 H 98.0°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).
Color values
| HEX | #EFE2A2 |
|---|---|
| RGB | rgb(239, 226, 162) |
| HSL | hsl(50, 71%, 79%) |
| HSV | hsv(50, 32%, 94%) |
| CMYK | cmyk(0%, 5.4%, 32.2%, 6.3%) |
| CIE-LAB | lab(89.56, -4.94, 32.95) |
| CIE-LCH | lch(89.56, 33.31, 98.52°) |
| OKLab | oklab(90.83% -0.0116 0.0822) |
| OKLCH | oklch(90.83% 0.083 98) |
| XYZ | xyz(69.3153, 75.3538, 45.0688) |
| Luminance | 0.7535 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vanilla
#F3E5AB
ΔE00 1.56
Palegoldenrod
#EEE8AA
ΔE00 2.38
Light Tan
#FBEEAC
ΔE00 2.59
Beige (survey)
#E6DAA6
ΔE00 3.05
Khaki (CSS)
#F0E68C
ΔE00 4.74
Pale Peach
#FFE5AD
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EFE2A2 #A2AFEF
analogous
#EFBBA2 #EFE2A2 #D5EFA2
triadic
#EFE2A2 #A2EFE2 #E2A2EF
tetradic
#EFE2A2 #A2EFBB #A2AFEF #EFA2D5
square
#EFE2A2 #A2EFBB #A2AFEF #EFA2D5
split-complementary
#EFE2A2 #A2D5EF #BBA2EF
monochromatic
#DDC13A #E6D26E #EFE2A2 #F8F2D6 #FBF7E5
Accessibility & contrast
On white
1.31
#EFE2A2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.07
#EFE2A2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EFE2A2
16.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EFE2A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EFE2A2 | 1.00 | 1.31 | 16.07 | 16.07 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EEDE9E
Deuteranopia (green-blind)
#F2E3A4
Tritanopia (blue-blind)
#FBD9D1
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #efe2a2; /* rgb */ color: rgb(239, 226, 162); /* oklch */ color: oklch(90.8% 0.083 98.0);
Tailwind
colors: {
custom: {
50: '#f5ebbe',
500: '#efe2a2',
950: '#000000',
},
}SCSS
$custom: #efe2a2; $custom-light: #f5ebbe; $custom-dark: #000000;
JSON
{
"hex": "#efe2a2",
"rgb": {
"r": 239,
"g": 226,
"b": 162
},
"hsl": {
"h": 49.87,
"s": 70.642,
"l": 78.627
},
"oklch": {
"l": 0.90828,
"c": 0.08302,
"h": 98
},
"luminance": 0.75352
}Semantic roles & 50–950 ramp
primary
#EFE2A2
secondary
#697ACC
accent
#33D313
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#171612
muted
#858482