#F2E07C#F2E07C
#F2E07C is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 90.1% C 0.123 H 99.3°. Best body text is #000000 at 15.73:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E07C |
|---|---|
| RGB | rgb(242, 224, 124) |
| HSL | hsl(51, 82%, 72%) |
| HSV | hsv(51, 49%, 95%) |
| CMYK | cmyk(0%, 7.4%, 48.8%, 5.1%) |
| CIE-LAB | lab(88.75, -6.73, 50.83) |
| CIE-LCH | lch(88.75, 51.27, 97.55°) |
| OKLab | oklab(90.08% -0.0199 0.1211) |
| OKLCH | oklch(90.08% 0.123 99.3) |
| XYZ | xyz(66.9137, 73.6462, 29.7553) |
| Luminance | 0.7364 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.90
Khaki (CSS)
#F0E68C
ΔE00 2.88
Yellow Tan
#FFE36E
ΔE00 3.47
Wheat (survey)
#FBDD7E
ΔE00 3.50
Sand Yellow
#FCE166
ΔE00 3.70
Dull Yellow
#EEDC5B
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E07C #7C8EF2
analogous
#F2A57C #F2E07C #C9F27C
triadic
#F2E07C #7CF2E0 #E07CF2
tetradic
#F2E07C #7CF2A5 #7C8EF2 #F27CC9
square
#F2E07C #7CF2A5 #7C8EF2 #F27CC9
split-complementary
#F2E07C #7CC9F2 #A57CF2
monochromatic
#DEBF16 #ECD344 #F2E07C #F8EDB4 #FCF8E3
Accessibility & contrast
On white
1.34
#F2E07C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.73
#F2E07C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E07C
15.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E07C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E07C | 1.00 | 1.34 | 15.73 | 15.73 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1DB73
Deuteranopia (green-blind)
#F6E280
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f2e07c; /* rgb */ color: rgb(242, 224, 124); /* oklch */ color: oklch(90.1% 0.123 99.3);
Tailwind
colors: {
custom: {
50: '#f8e9a4',
500: '#f2e07c',
950: '#000000',
},
}SCSS
$custom: #f2e07c; $custom-light: #f8e9a4; $custom-dark: #000000;
JSON
{
"hex": "#f2e07c",
"rgb": {
"r": 242,
"g": 224,
"b": 124
},
"hsl": {
"h": 50.847,
"s": 81.944,
"l": 71.765
},
"oklch": {
"l": 0.90075,
"c": 0.12272,
"h": 99.3
},
"luminance": 0.73644
}Semantic roles & 50–950 ramp
primary
#F2E07C
secondary
#455ACD
accent
#28DE07
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480