#F2EFB2#F2EFB2
#F2EFB2 is a very light, moderate yellow. Relative luminance 0.838; OKLCH L 94.0% C 0.078 H 105.4°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).
Color values
| HEX | #F2EFB2 |
|---|---|
| RGB | rgb(242, 239, 178) |
| HSL | hsl(57, 71%, 82%) |
| HSV | hsv(57, 26%, 95%) |
| CMYK | cmyk(0%, 1.2%, 26.4%, 5.1%) |
| CIE-LAB | lab(93.37, -8.34, 29.96) |
| CIE-LCH | lch(93.37, 31.10, 105.55°) |
| OKLab | oklab(93.99% -0.0208 0.0754) |
| OKLCH | oklch(93.99% 0.078 105.4) |
| XYZ | xyz(75.5205, 83.8258, 54.3125) |
| Luminance | 0.8383 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Palegoldenrod
#EEE8AA
ΔE00 1.67
Egg Shell
#FFFCC4
ΔE00 2.99
Light Tan
#FBEEAC
ΔE00 3.10
Cream (survey)
#FFFFC2
ΔE00 3.29
Light Beige
#FFFEB6
ΔE00 3.57
Vanilla
#F3E5AB
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2EFB2 #B2B5F2
analogous
#F2CFB2 #F2EFB2 #D5F2B2
triadic
#F2EFB2 #B2F2EF #EFB2F2
tetradic
#F2EFB2 #B2F2CF #B2B5F2 #F2B2D5
square
#F2EFB2 #B2F2CF #B2B5F2 #F2B2D5
split-complementary
#F2EFB2 #B2D5F2 #CFB2F2
monochromatic
#E0D949 #E9E47E #F2EFB2 #FBFAE5 #FBFAE5
Accessibility & contrast
On white
1.18
#F2EFB2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.77
#F2EFB2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2EFB2
17.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2EFB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2EFB2 | 1.00 | 1.18 | 17.77 | 17.77 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FAEAAE
Deuteranopia (green-blind)
#FBEDB4
Tritanopia (blue-blind)
#FBE7DF
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f2efb2; /* rgb */ color: rgb(242, 239, 178); /* oklch */ color: oklch(94.0% 0.078 105.4);
Tailwind
colors: {
custom: {
50: '#f7f4c9',
500: '#f2efb2',
950: '#000000',
},
}SCSS
$custom: #f2efb2; $custom-light: #f7f4c9; $custom-dark: #000000;
JSON
{
"hex": "#f2efb2",
"rgb": {
"r": 242,
"g": 239,
"b": 178
},
"hsl": {
"h": 57.188,
"s": 71.111,
"l": 82.353
},
"oklch": {
"l": 0.93994,
"c": 0.07826,
"h": 105.4
},
"luminance": 0.83825
}Semantic roles & 50–950 ramp
primary
#F2EFB2
secondary
#777BD1
accent
#1BD312
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171713
muted
#858582