#F2F177#F2F177
#F2F177 is a very light, vivid yellow. Relative luminance 0.831; OKLCH L 93.5% C 0.144 H 108.5°. Best body text is #000000 at 17.62:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F177 |
|---|---|
| RGB | rgb(242, 241, 119) |
| HSL | hsl(60, 83%, 71%) |
| HSV | hsv(60, 51%, 95%) |
| CMYK | cmyk(0%, 0.4%, 50.8%, 5.1%) |
| CIE-LAB | lab(93.07, -15.59, 58.29) |
| CIE-LCH | lch(93.07, 60.34, 104.97°) |
| OKLab | oklab(93.48% -0.0458 0.137) |
| OKLCH | oklch(93.48% 0.144 108.5) |
| XYZ | xyz(71.4048, 83.1216, 29.7318) |
| Luminance | 0.8312 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.77
Yellowish Tan
#FCFC81
ΔE00 2.25
Manilla
#FFFA86
ΔE00 2.37
Custard
#FFFD78
ΔE00 2.75
Light Yellow
#FFFE7A
ΔE00 2.83
Butter
#FFFF81
ΔE00 2.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F177 #7778F2
analogous
#F2B377 #F2F177 #B5F277
triadic
#F2F177 #77F2F1 #F177F2
tetradic
#F2F177 #77F2B3 #7778F2 #F277B5
square
#F2F177 #77F2B3 #7778F2 #F277B5
split-complementary
#F2F177 #77B5F2 #B377F2
monochromatic
#DAD815 #EDEB3F #F2F177 #F7F7AF #FCFCE3
Accessibility & contrast
On white
1.19
#F2F177 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.62
#F2F177 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F177
17.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F177 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F177 | 1.00 | 1.19 | 17.62 | 17.62 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE96B
Deuteranopia (green-blind)
#FFED7D
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #f2f177; /* rgb */ color: rgb(242, 241, 119); /* oklch */ color: oklch(93.5% 0.144 108.5);
Tailwind
colors: {
custom: {
50: '#f9f5a1',
500: '#f2f177',
950: '#000000',
},
}SCSS
$custom: #f2f177; $custom-light: #f9f5a1; $custom-dark: #000000;
JSON
{
"hex": "#f2f177",
"rgb": {
"r": 242,
"g": 241,
"b": 119
},
"hsl": {
"h": 59.512,
"s": 82.55,
"l": 70.784
},
"oklch": {
"l": 0.93483,
"c": 0.14444,
"h": 108.5
},
"luminance": 0.8312
}Semantic roles & 50–950 ramp
primary
#F2F177
secondary
#4142CC
accent
#08DF07
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580