#F2E272#F2E272
#F2E272 is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.4% C 0.134 H 101.3°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E272 |
|---|---|
| RGB | rgb(242, 226, 114) |
| HSL | hsl(53, 83%, 70%) |
| HSV | hsv(53, 53%, 95%) |
| CMYK | cmyk(0%, 6.6%, 52.9%, 5.1%) |
| CIE-LAB | lab(89.15, -8.58, 56.00) |
| CIE-LCH | lch(89.15, 56.65, 98.71°) |
| OKLab | oklab(90.35% -0.0262 0.1316) |
| OKLCH | oklch(90.35% 0.134 101.3) |
| XYZ | xyz(66.8537, 74.4873, 26.7723) |
| Luminance | 0.7449 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.52
Sandy Yellow
#FDEE73
ΔE00 2.81
Sand Yellow
#FCE166
ΔE00 3.14
Yellow Tan
#FFE36E
ΔE00 3.26
Sandy
#F1DA7A
ΔE00 3.28
Khaki (CSS)
#F0E68C
ΔE00 3.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E272 #7282F2
analogous
#F2A272 #F2E272 #C2F272
triadic
#F2E272 #72F2E2 #E272F2
tetradic
#F2E272 #72F2A2 #7282F2 #F272C2
square
#F2E272 #72F2A2 #7282F2 #F272C2
split-complementary
#F2E272 #72C2F2 #A272F2
monochromatic
#D6BE14 #EDD63A #F2E272 #F7EEAA #FCF9E2
Accessibility & contrast
On white
1.32
#F2E272 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.90
#F2E272 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E272
15.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E272 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E272 | 1.00 | 1.32 | 15.90 | 15.90 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DC67
Deuteranopia (green-blind)
#F8E377
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #f2e272; /* rgb */ color: rgb(242, 226, 114); /* oklch */ color: oklch(90.4% 0.134 101.3);
Tailwind
colors: {
custom: {
50: '#f9ea9d',
500: '#f2e272',
950: '#000000',
},
}SCSS
$custom: #f2e272; $custom-light: #f9ea9d; $custom-dark: #000000;
JSON
{
"hex": "#f2e272",
"rgb": {
"r": 242,
"g": 226,
"b": 114
},
"hsl": {
"h": 52.5,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.90353,
"c": 0.13414,
"h": 101.3
},
"luminance": 0.74485
}Semantic roles & 50–950 ramp
primary
#F2E272
secondary
#3D4ECC
accent
#21E006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F