#F2EDAF#F2EDAF
#F2EDAF is a very light, moderate yellow. Relative luminance 0.825; OKLCH L 93.5% C 0.080 H 103.9°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).
Color values
| HEX | #F2EDAF |
|---|---|
| RGB | rgb(242, 237, 175) |
| HSL | hsl(56, 72%, 82%) |
| HSV | hsv(56, 28%, 95%) |
| CMYK | cmyk(0%, 2.1%, 27.7%, 5.1%) |
| CIE-LAB | lab(92.81, -7.73, 30.73) |
| CIE-LCH | lch(92.81, 31.69, 104.11°) |
| OKLab | oklab(93.53% -0.0192 0.0772) |
| OKLCH | oklch(93.53% 0.08 103.9) |
| XYZ | xyz(74.6403, 82.5421, 52.5494) |
| Luminance | 0.8254 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Palegoldenrod
#EEE8AA
ΔE00 1.08
Light Tan
#FBEEAC
ΔE00 2.51
Vanilla
#F3E5AB
ΔE00 3.20
Egg Shell
#FFFCC4
ΔE00 3.45
Cream (survey)
#FFFFC2
ΔE00 3.83
Light Beige
#FFFEB6
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2EDAF #AFB4F2
analogous
#F2CCAF #F2EDAF #D6F2AF
triadic
#F2EDAF #AFF2ED #EDAFF2
tetradic
#F2EDAF #AFF2CC #AFB4F2 #F2AFD6
square
#F2EDAF #AFF2CC #AFB4F2 #F2AFD6
split-complementary
#F2EDAF #AFD6F2 #CCAFF2
monochromatic
#E1D546 #E9E17A #F2EDAF #FBF9E4 #FBF9E5
Accessibility & contrast
On white
1.20
#F2EDAF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.51
#F2EDAF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2EDAF
17.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2EDAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2EDAF | 1.00 | 1.20 | 17.51 | 17.51 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F8E8AB
Deuteranopia (green-blind)
#FAECB1
Tritanopia (blue-blind)
#FCE5DD
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #f2edaf; /* rgb */ color: rgb(242, 237, 175); /* oklch */ color: oklch(93.5% 0.080 103.9);
Tailwind
colors: {
custom: {
50: '#f7f2c7',
500: '#f2edaf',
950: '#000000',
},
}SCSS
$custom: #f2edaf; $custom-light: #f7f2c7; $custom-dark: #000000;
JSON
{
"hex": "#f2edaf",
"rgb": {
"r": 242,
"g": 237,
"b": 175
},
"hsl": {
"h": 55.522,
"s": 72.043,
"l": 81.765
},
"oklch": {
"l": 0.93533,
"c": 0.07957,
"h": 103.9
},
"luminance": 0.82541
}Semantic roles & 50–950 ramp
primary
#F2EDAF
secondary
#747BD1
accent
#20D411
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171713
muted
#858582