#F2EFAC#F2EFAC
#F2EFAC is a very light, moderate yellow. Relative luminance 0.836; OKLCH L 93.9% C 0.085 H 105.8°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).
Color values
| HEX | #F2EFAC |
|---|---|
| RGB | rgb(242, 239, 172) |
| HSL | hsl(57, 73%, 81%) |
| HSV | hsv(57, 29%, 95%) |
| CMYK | cmyk(0%, 1.2%, 28.9%, 5.1%) |
| CIE-LAB | lab(93.27, -9.10, 32.87) |
| CIE-LCH | lch(93.27, 34.10, 105.48°) |
| OKLab | oklab(93.88% -0.0232 0.0822) |
| OKLCH | oklch(93.88% 0.085 105.8) |
| XYZ | xyz(74.9312, 83.5901, 51.2089) |
| Luminance | 0.8359 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Palegoldenrod
#EEE8AA
ΔE00 1.84
Light Tan
#FBEEAC
ΔE00 2.92
Parchment
#FEFCAF
ΔE00 3.10
Light Beige
#FFFEB6
ΔE00 3.12
Creme
#FFFFB6
ΔE00 3.36
Cream (survey)
#FFFFC2
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2EFAC #ACAFF2
analogous
#F2CCAC #F2EFAC #D2F2AC
triadic
#F2EFAC #ACF2EF #EFACF2
tetradic
#F2EFAC #ACF2CC #ACAFF2 #F2ACD2
square
#F2EFAC #ACF2CC #ACAFF2 #F2ACD2
split-complementary
#F2EFAC #ACD2F2 #CCACF2
monochromatic
#E1DB42 #EAE577 #F2EFAC #FAF9E1 #FBFAE5
Accessibility & contrast
On white
1.19
#F2EFAC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.72
#F2EFAC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2EFAC
17.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2EFAC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2EFAC | 1.00 | 1.19 | 17.72 | 17.72 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FAEAA8
Deuteranopia (green-blind)
#FCEDAF
Tritanopia (blue-blind)
#FCE6DD
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f2efac; /* rgb */ color: rgb(242, 239, 172); /* oklch */ color: oklch(93.9% 0.085 105.8);
Tailwind
colors: {
custom: {
50: '#f7f4c5',
500: '#f2efac',
950: '#000000',
},
}SCSS
$custom: #f2efac; $custom-light: #f7f4c5; $custom-dark: #000000;
JSON
{
"hex": "#f2efac",
"rgb": {
"r": 242,
"g": 239,
"b": 172
},
"hsl": {
"h": 57.429,
"s": 72.917,
"l": 81.176
},
"oklch": {
"l": 0.93879,
"c": 0.08546,
"h": 105.8
},
"luminance": 0.83589
}Semantic roles & 50–950 ramp
primary
#F2EFAC
secondary
#7175D1
accent
#19D510
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171713
muted
#858582