#F2E372#F2E372
#F2E372 is a very light, vivid yellow. Relative luminance 0.750; OKLCH L 90.6% C 0.135 H 101.8°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E372 |
|---|---|
| RGB | rgb(242, 227, 114) |
| HSL | hsl(53, 83%, 70%) |
| HSV | hsv(53, 53%, 95%) |
| CMYK | cmyk(0%, 6.2%, 52.9%, 5.1%) |
| CIE-LAB | lab(89.41, -9.08, 56.30) |
| CIE-LCH | lch(89.41, 57.03, 99.16°) |
| OKLab | oklab(90.56% -0.0277 0.1322) |
| OKLCH | oklch(90.56% 0.135 101.8) |
| XYZ | xyz(67.1264, 75.0327, 26.8632) |
| Luminance | 0.7503 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.58
Dull Yellow
#EEDC5B
ΔE00 2.60
Sand Yellow
#FCE166
ΔE00 3.34
Yellowish
#FAEE66
ΔE00 3.42
Yellow Tan
#FFE36E
ΔE00 3.47
Sandy
#F1DA7A
ΔE00 3.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E372 #7281F2
analogous
#F2A372 #F2E372 #C1F272
triadic
#F2E372 #72F2E3 #E372F2
tetradic
#F2E372 #72F2A3 #7281F2 #F272C1
square
#F2E372 #72F2A3 #7281F2 #F272C1
split-complementary
#F2E372 #72C1F2 #A372F2
monochromatic
#D6BF14 #EDD83A #F2E372 #F7EEAA #FCF9E2
Accessibility & contrast
On white
1.31
#F2E372 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.01
#F2E372 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E372
16.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E372 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E372 | 1.00 | 1.31 | 16.01 | 16.01 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5DD67
Deuteranopia (green-blind)
#F9E477
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #f2e372; /* rgb */ color: rgb(242, 227, 114); /* oklch */ color: oklch(90.6% 0.135 101.8);
Tailwind
colors: {
custom: {
50: '#f9eb9d',
500: '#f2e372',
950: '#000000',
},
}SCSS
$custom: #f2e372; $custom-light: #f9eb9d; $custom-dark: #000000;
JSON
{
"hex": "#f2e372",
"rgb": {
"r": 242,
"g": 227,
"b": 114
},
"hsl": {
"h": 52.969,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.90556,
"c": 0.13506,
"h": 101.8
},
"luminance": 0.7503
}Semantic roles & 50–950 ramp
primary
#F2E372
secondary
#3D4DCC
accent
#1FE006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F