#F1E172#F1E172
#F1E172 is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 90.1% C 0.133 H 101.2°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).
Color values
| HEX | #F1E172 |
|---|---|
| RGB | rgb(241, 225, 114) |
| HSL | hsl(52, 82%, 70%) |
| HSV | hsv(52, 53%, 95%) |
| CMYK | cmyk(0%, 6.6%, 52.7%, 5.5%) |
| CIE-LAB | lab(88.81, -8.48, 55.58) |
| CIE-LCH | lch(88.81, 56.23, 98.67°) |
| OKLab | oklab(90.06% -0.0259 0.1307) |
| OKLCH | oklch(90.06% 0.133 101.2) |
| XYZ | xyz(66.2402, 73.7685, 26.6658) |
| Luminance | 0.7377 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.51
Sandy Yellow
#FDEE73
ΔE00 3.05
Sandy
#F1DA7A
ΔE00 3.11
Sand Yellow
#FCE166
ΔE00 3.21
Yellow Tan
#FFE36E
ΔE00 3.33
Khaki (CSS)
#F0E68C
ΔE00 3.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F1E172 #7282F1
analogous
#F1A272 #F1E172 #C2F172
triadic
#F1E172 #72F1E1 #E172F1
tetradic
#F1E172 #72F1A2 #7282F1 #F172C2
square
#F1E172 #72F1A2 #7282F1 #F172C2
split-complementary
#F1E172 #72C2F1 #A272F1
monochromatic
#D4BC15 #EBD53A #F1E172 #F7EDAA #FCF9E1
Accessibility & contrast
On white
1.33
#F1E172 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.75
#F1E172 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F1E172
15.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F1E172 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F1E172 | 1.00 | 1.33 | 15.75 | 15.75 |
| #FFFFFF | 1.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2DB68
Deuteranopia (green-blind)
#F7E277
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f1e172; /* rgb */ color: rgb(241, 225, 114); /* oklch */ color: oklch(90.1% 0.133 101.2);
Tailwind
colors: {
custom: {
50: '#f8ea9d',
500: '#f1e172',
950: '#000000',
},
}SCSS
$custom: #f1e172; $custom-light: #f8ea9d; $custom-dark: #000000;
JSON
{
"hex": "#f1e172",
"rgb": {
"r": 241,
"g": 225,
"b": 114
},
"hsl": {
"h": 52.441,
"s": 81.935,
"l": 69.608
},
"oklch": {
"l": 0.90064,
"c": 0.1332,
"h": 101.2
},
"luminance": 0.73766
}Semantic roles & 50–950 ramp
primary
#F1E172
secondary
#3D4FCA
accent
#22DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F