#F2E079#F2E079
#F2E079 is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 90.0% C 0.126 H 99.6°. Best body text is #000000 at 15.71:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E079 |
|---|---|
| RGB | rgb(242, 224, 121) |
| HSL | hsl(51, 82%, 71%) |
| HSV | hsv(51, 50%, 95%) |
| CMYK | cmyk(0%, 7.4%, 50%, 5.1%) |
| CIE-LAB | lab(88.72, -6.99, 52.21) |
| CIE-LCH | lch(88.72, 52.68, 97.63°) |
| OKLab | oklab(90.04% -0.0209 0.1239) |
| OKLCH | oklch(90.04% 0.126 99.6) |
| XYZ | xyz(66.7268, 73.5715, 28.7713) |
| Luminance | 0.7357 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.07
Khaki (CSS)
#F0E68C
ΔE00 3.13
Yellow Tan
#FFE36E
ΔE00 3.24
Dull Yellow
#EEDC5B
ΔE00 3.39
Sand Yellow
#FCE166
ΔE00 3.40
Wheat (survey)
#FBDD7E
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E079 #798BF2
analogous
#F2A379 #F2E079 #C7F279
triadic
#F2E079 #79F2E0 #E079F2
tetradic
#F2E079 #79F2A3 #798BF2 #F279C7
square
#F2E079 #79F2A3 #798BF2 #F279C7
split-complementary
#F2E079 #79C7F2 #A379F2
monochromatic
#DBBE15 #EDD341 #F2E079 #F7EDB1 #FCF9E3
Accessibility & contrast
On white
1.34
#F2E079 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.71
#F2E079 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E079
15.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E079 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E079 | 1.00 | 1.34 | 15.71 | 15.71 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1DB70
Deuteranopia (green-blind)
#F6E27D
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f2e079; /* rgb */ color: rgb(242, 224, 121); /* oklch */ color: oklch(90.0% 0.126 99.6);
Tailwind
colors: {
custom: {
50: '#f8e9a2',
500: '#f2e079',
950: '#000000',
},
}SCSS
$custom: #f2e079; $custom-light: #f8e9a2; $custom-dark: #000000;
JSON
{
"hex": "#f2e079",
"rgb": {
"r": 242,
"g": 224,
"b": 121
},
"hsl": {
"h": 51.074,
"s": 82.313,
"l": 71.176
},
"oklch": {
"l": 0.90036,
"c": 0.12567,
"h": 99.6
},
"luminance": 0.73569
}Semantic roles & 50–950 ramp
primary
#F2E079
secondary
#4357CC
accent
#27DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480