#F2E07A#F2E07A
#F2E07A is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 90.0% C 0.125 H 99.5°. Best body text is #000000 at 15.72:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E07A |
|---|---|
| RGB | rgb(242, 224, 122) |
| HSL | hsl(51, 82%, 71%) |
| HSV | hsv(51, 50%, 95%) |
| CMYK | cmyk(0%, 7.4%, 49.6%, 5.1%) |
| CIE-LAB | lab(88.73, -6.91, 51.75) |
| CIE-LCH | lch(88.73, 52.21, 97.60°) |
| OKLab | oklab(90.05% -0.0206 0.123) |
| OKLCH | oklch(90.05% 0.125 99.5) |
| XYZ | xyz(66.7885, 73.5961, 29.0959) |
| Luminance | 0.7359 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.01
Khaki (CSS)
#F0E68C
ΔE00 3.05
Yellow Tan
#FFE36E
ΔE00 3.31
Sand Yellow
#FCE166
ΔE00 3.49
Dull Yellow
#EEDC5B
ΔE00 3.53
Wheat (survey)
#FBDD7E
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E07A #7A8CF2
analogous
#F2A47A #F2E07A #C8F27A
triadic
#F2E07A #7AF2E0 #E07AF2
tetradic
#F2E07A #7AF2A4 #7A8CF2 #F27AC8
square
#F2E07A #7AF2A4 #7A8CF2 #F27AC8
split-complementary
#F2E07A #7AC8F2 #A47AF2
monochromatic
#DCBE16 #EDD342 #F2E07A #F7EDB2 #FCF9E3
Accessibility & contrast
On white
1.34
#F2E07A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.72
#F2E07A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E07A
15.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E07A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E07A | 1.00 | 1.34 | 15.72 | 15.72 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1DB71
Deuteranopia (green-blind)
#F6E27E
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f2e07a; /* rgb */ color: rgb(242, 224, 122); /* oklch */ color: oklch(90.0% 0.125 99.5);
Tailwind
colors: {
custom: {
50: '#f8e9a2',
500: '#f2e07a',
950: '#000000',
},
}SCSS
$custom: #f2e07a; $custom-light: #f8e9a2; $custom-dark: #000000;
JSON
{
"hex": "#f2e07a",
"rgb": {
"r": 242,
"g": 224,
"b": 122
},
"hsl": {
"h": 51,
"s": 82.192,
"l": 71.373
},
"oklch": {
"l": 0.90049,
"c": 0.12469,
"h": 99.5
},
"luminance": 0.73594
}Semantic roles & 50–950 ramp
primary
#F2E07A
secondary
#4458CD
accent
#27DF07
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480