#FFEFA8#FFEFA8
#FFEFA8 is a very light, moderate yellow. Relative luminance 0.858; OKLCH L 94.9% C 0.091 H 97.0°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).
Color values
| HEX | #FFEFA8 |
|---|---|
| RGB | rgb(255, 239, 168) |
| HSL | hsl(49, 100%, 83%) |
| HSV | hsv(49, 34%, 100%) |
| CMYK | cmyk(0%, 6.3%, 34.1%, 0%) |
| CIE-LAB | lab(94.24, -4.70, 36.35) |
| CIE-LCH | lch(94.24, 36.65, 97.37°) |
| OKLab | oklab(94.87% -0.0111 0.0903) |
| OKLCH | oklch(94.87% 0.091 97) |
| XYZ | xyz(79.1755, 85.8223, 49.4328) |
| Luminance | 0.8582 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Tan
#FBEEAC
ΔE00 1.27
Vanilla
#F3E5AB
ΔE00 3.29
Dark Cream
#FFF39A
ΔE00 3.40
Palegoldenrod
#EEE8AA
ΔE00 3.77
Buff
#FEF69E
ΔE00 3.87
Khaki (CSS)
#F0E68C
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFEFA8 #A8B8FF
analogous
#FFC4A8 #FFEFA8 #E3FFA8
triadic
#FFEFA8 #A8FFEF #EFA8FF
tetradic
#FFEFA8 #A8FFC4 #A8B8FF #FFA8E3
square
#FFEFA8 #A8FFC4 #A8B8FF #FFA8E3
split-complementary
#FFEFA8 #A8E3FF #C4A8FF
monochromatic
#FFD82E #FFE46B #FFEFA8 #FFF9E0 #FFF9E0
Accessibility & contrast
On white
1.16
#FFEFA8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.16
#FFEFA8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFEFA8
18.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFEFA8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFEFA8 | 1.00 | 1.16 | 18.16 | 18.16 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FDEBA3
Deuteranopia (green-blind)
#FFF1AB
Tritanopia (blue-blind)
#FFE5DD
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #ffefa8; /* rgb */ color: rgb(255, 239, 168); /* oklch */ color: oklch(94.9% 0.091 97.0);
Tailwind
colors: {
custom: {
50: '#fff4c2',
500: '#ffefa8',
950: '#000000',
},
}SCSS
$custom: #ffefa8; $custom-light: #fff4c2; $custom-dark: #000000;
JSON
{
"hex": "#ffefa8",
"rgb": {
"r": 255,
"g": 239,
"b": 168
},
"hsl": {
"h": 48.966,
"s": 100,
"l": 82.941
},
"oklch": {
"l": 0.9487,
"c": 0.09097,
"h": 97
},
"luminance": 0.8582
}Semantic roles & 50–950 ramp
primary
#FFEFA8
secondary
#677EE4
accent
#2AE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582