#F1F162#F1F162
#F1F162 is a very light, vivid yellow. Relative luminance 0.825; OKLCH L 93.2% C 0.163 H 109.2°. Best body text is #000000 at 17.50:1 contrast (WCAG AA passes).
Color values
| HEX | #F1F162 |
|---|---|
| RGB | rgb(241, 241, 98) |
| HSL | hsl(60, 84%, 66%) |
| HSV | hsv(60, 59%, 95%) |
| CMYK | cmyk(0%, 0%, 59.3%, 5.5%) |
| CIE-LAB | lab(92.79, -17.54, 67.11) |
| CIE-LCH | lch(92.79, 69.36, 104.64°) |
| OKLab | oklab(93.18% -0.0534 0.1536) |
| OKLCH | oklch(93.18% 0.163 109.2) |
| XYZ | xyz(69.9376, 82.4951, 23.7919) |
| Luminance | 0.8249 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 2.64
Butter Yellow
#FFFD74
ΔE00 2.69
Pastel Yellow
#FFFE71
ΔE00 2.74
Yellowish
#FAEE66
ΔE00 2.83
Custard
#FFFD78
ΔE00 2.85
Canary
#FDFF63
ΔE00 3.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F1F162 #6262F1
analogous
#F1AA62 #F1F162 #AAF162
triadic
#F1F162 #62F1F1 #F162F1
tetradic
#F1F162 #62F1AA #6262F1 #F162AA
square
#F1F162 #62F1AA #6262F1 #F162AA
split-complementary
#F1F162 #62AAF1 #AA62F1
monochromatic
#C7C712 #ECEC2A #F1F162 #F6F69A #FBFBD2
Accessibility & contrast
On white
1.20
#F1F162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.50
#F1F162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F1F162
17.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F1F162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F1F162 | 1.00 | 1.20 | 17.50 | 17.50 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE851
Deuteranopia (green-blind)
#FFED6B
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #f1f162; /* rgb */ color: rgb(241, 241, 98); /* oklch */ color: oklch(93.2% 0.163 109.2);
Tailwind
colors: {
custom: {
50: '#f9f594',
500: '#f1f162',
950: '#000000',
},
}SCSS
$custom: #f1f162; $custom-light: #f9f594; $custom-dark: #000000;
JSON
{
"hex": "#f1f162",
"rgb": {
"r": 241,
"g": 241,
"b": 98
},
"hsl": {
"h": 60,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.93182,
"c": 0.16257,
"h": 109.2
},
"luminance": 0.82493
}Semantic roles & 50–950 ramp
primary
#F1F162
secondary
#3333C4
accent
#05E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F