#F2E772#F2E772
#F2E772 is a very light, vivid yellow. Relative luminance 0.772; OKLCH L 91.4% C 0.139 H 103.9°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E772 |
|---|---|
| RGB | rgb(242, 231, 114) |
| HSL | hsl(55, 83%, 70%) |
| HSV | hsv(55, 53%, 95%) |
| CMYK | cmyk(0%, 4.5%, 52.9%, 5.1%) |
| CIE-LAB | lab(90.43, -11.07, 57.50) |
| CIE-LCH | lch(90.43, 58.55, 100.90°) |
| OKLab | oklab(91.37% -0.0334 0.1348) |
| OKLCH | oklch(91.37% 0.139 103.9) |
| XYZ | xyz(68.2332, 77.2462, 27.2321) |
| Luminance | 0.7724 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.03
Yellowish
#FAEE66
ΔE00 2.59
Dull Yellow
#EEDC5B
ΔE00 3.27
Straw
#FCF679
ΔE00 3.29
Khaki (CSS)
#F0E68C
ΔE00 3.79
Manilla
#FFFA86
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E772 #727DF2
analogous
#F2A772 #F2E772 #BDF272
triadic
#F2E772 #72F2E7 #E772F2
tetradic
#F2E772 #72F2A7 #727DF2 #F272BD
square
#F2E772 #72F2A7 #727DF2 #F272BD
split-complementary
#F2E772 #72BDF2 #A772F2
monochromatic
#D6C514 #EDDD3A #F2E772 #F7F1AA #FCFAE2
Accessibility & contrast
On white
1.28
#F2E772 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.45
#F2E772 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E772
16.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E772 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E772 | 1.00 | 1.28 | 16.45 | 16.45 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F8E067
Deuteranopia (green-blind)
#FCE678
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #f2e772; /* rgb */ color: rgb(242, 231, 114); /* oklch */ color: oklch(91.4% 0.139 103.9);
Tailwind
colors: {
custom: {
50: '#f9ee9e',
500: '#f2e772',
950: '#000000',
},
}SCSS
$custom: #f2e772; $custom-light: #f9ee9e; $custom-dark: #000000;
JSON
{
"hex": "#f2e772",
"rgb": {
"r": 242,
"g": 231,
"b": 114
},
"hsl": {
"h": 54.844,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.91372,
"c": 0.13887,
"h": 103.9
},
"luminance": 0.77244
}Semantic roles & 50–950 ramp
primary
#F2E772
secondary
#3D49CC
accent
#19E006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480