#EFE98A#EFE98A
#EFE98A is a very light, moderate yellow. Relative luminance 0.785; OKLCH L 91.8% C 0.117 H 105.3°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).
Color values
| HEX | #EFE98A |
|---|---|
| RGB | rgb(239, 233, 138) |
| HSL | hsl(56, 76%, 74%) |
| HSV | hsv(56, 42%, 94%) |
| CMYK | cmyk(0%, 2.5%, 42.3%, 6.3%) |
| CIE-LAB | lab(90.99, -11.10, 46.77) |
| CIE-LCH | lch(90.99, 48.07, 103.35°) |
| OKLab | oklab(91.85% -0.031 0.1131) |
| OKLCH | oklch(91.85% 0.117 105.3) |
| XYZ | xyz(69.3243, 78.4653, 35.5333) |
| Luminance | 0.7846 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 1.36
Dark Cream
#FFF39A
ΔE00 3.04
Buff
#FEF69E
ΔE00 3.16
Manilla
#FFFA86
ΔE00 4.36
Sandy Yellow
#FDEE73
ΔE00 4.63
Straw
#FCF679
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EFE98A #8A90EF
analogous
#EFB78A #EFE98A #C3EF8A
triadic
#EFE98A #8AEFE9 #E98AEF
tetradic
#EFE98A #8AEFB7 #8A90EF #EF8AC3
square
#EFE98A #8AEFB7 #8A90EF #EF8AC3
split-complementary
#EFE98A #8AC3EF #B78AEF
monochromatic
#E0D41F #E8DF54 #EFE98A #F6F3C0 #FBFAE4
Accessibility & contrast
On white
1.26
#EFE98A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.69
#EFE98A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EFE98A
16.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EFE98A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EFE98A | 1.00 | 1.26 | 16.69 | 16.69 |
| #FFFFFF | 1.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F8E382
Deuteranopia (green-blind)
#FBE78E
Tritanopia (blue-blind)
#FCDED2
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #efe98a; /* rgb */ color: rgb(239, 233, 138); /* oklch */ color: oklch(91.8% 0.117 105.3);
Tailwind
colors: {
custom: {
50: '#f6efad',
500: '#efe98a',
950: '#000000',
},
}SCSS
$custom: #efe98a; $custom-light: #f6efad; $custom-dark: #000000;
JSON
{
"hex": "#efe98a",
"rgb": {
"r": 239,
"g": 233,
"b": 138
},
"hsl": {
"h": 56.436,
"s": 75.94,
"l": 73.922
},
"oklch": {
"l": 0.91847,
"c": 0.11723,
"h": 105.3
},
"luminance": 0.78464
}Semantic roles & 50–950 ramp
primary
#EFE98A
secondary
#535ACA
accent
#19D80D
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581