#F2E075#F2E075
#F2E075 is a very light, vivid yellow. Relative luminance 0.735; OKLCH L 90.0% C 0.130 H 99.9°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E075 |
|---|---|
| RGB | rgb(242, 224, 117) |
| HSL | hsl(51, 83%, 70%) |
| HSV | hsv(51, 52%, 95%) |
| CMYK | cmyk(0%, 7.4%, 51.7%, 5.1%) |
| CIE-LAB | lab(88.67, -7.33, 54.04) |
| CIE-LCH | lch(88.67, 54.54, 97.73°) |
| OKLab | oklab(89.99% -0.0223 0.1276) |
| OKLCH | oklch(89.99% 0.13 99.9) |
| XYZ | xyz(66.4866, 73.4754, 27.5061) |
| Luminance | 0.7347 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.38
Dull Yellow
#EEDC5B
ΔE00 2.87
Yellow Tan
#FFE36E
ΔE00 3.02
Sand Yellow
#FCE166
ΔE00 3.04
Sandy Yellow
#FDEE73
ΔE00 3.51
Khaki (CSS)
#F0E68C
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E075 #7587F2
analogous
#F2A175 #F2E075 #C5F275
triadic
#F2E075 #75F2E0 #E075F2
tetradic
#F2E075 #75F2A1 #7587F2 #F275C5
square
#F2E075 #75F2A1 #7587F2 #F275C5
split-complementary
#F2E075 #75C5F2 #A175F2
monochromatic
#D8BC14 #EDD33D #F2E075 #F7EDAD #FCF9E3
Accessibility & contrast
On white
1.34
#F2E075 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.69
#F2E075 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E075
15.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E075 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E075 | 1.00 | 1.34 | 15.69 | 15.69 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1DB6B
Deuteranopia (green-blind)
#F7E27A
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f2e075; /* rgb */ color: rgb(242, 224, 117); /* oklch */ color: oklch(90.0% 0.130 99.9);
Tailwind
colors: {
custom: {
50: '#f9e99f',
500: '#f2e075',
950: '#000000',
},
}SCSS
$custom: #f2e075; $custom-light: #f9e99f; $custom-dark: #000000;
JSON
{
"hex": "#f2e075",
"rgb": {
"r": 242,
"g": 224,
"b": 117
},
"hsl": {
"h": 51.36,
"s": 82.781,
"l": 70.392
},
"oklch": {
"l": 0.89985,
"c": 0.12951,
"h": 99.9
},
"luminance": 0.73473
}Semantic roles & 50–950 ramp
primary
#F2E075
secondary
#3F54CC
accent
#26DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480