#F2F176#F2F176
#F2F176 is a very light, vivid yellow. Relative luminance 0.831; OKLCH L 93.5% C 0.145 H 108.5°. Best body text is #000000 at 17.62:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F176 |
|---|---|
| RGB | rgb(242, 241, 118) |
| HSL | hsl(60, 83%, 71%) |
| HSV | hsv(60, 51%, 95%) |
| CMYK | cmyk(0%, 0.4%, 51.2%, 5.1%) |
| CIE-LAB | lab(93.06, -15.67, 58.74) |
| CIE-LCH | lch(93.06, 60.79, 104.94°) |
| OKLab | oklab(93.47% -0.0461 0.1379) |
| OKLCH | oklch(93.47% 0.145 108.5) |
| XYZ | xyz(71.3450, 83.0977, 29.4172) |
| Luminance | 0.8310 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.74
Yellowish Tan
#FCFC81
ΔE00 2.26
Manilla
#FFFA86
ΔE00 2.41
Custard
#FFFD78
ΔE00 2.70
Light Yellow
#FFFE7A
ΔE00 2.79
Butter
#FFFF81
ΔE00 2.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F176 #7677F2
analogous
#F2B376 #F2F176 #B5F276
triadic
#F2F176 #76F2F1 #F176F2
tetradic
#F2F176 #76F2B3 #7677F2 #F276B5
square
#F2F176 #76F2B3 #7677F2 #F276B5
split-complementary
#F2F176 #76B5F2 #B376F2
monochromatic
#D9D715 #EDEB3E #F2F176 #F7F7AE #FCFCE3
Accessibility & contrast
On white
1.19
#F2F176 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.62
#F2F176 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F176
17.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F176 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F176 | 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)
#FFE96A
Deuteranopia (green-blind)
#FFED7C
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #f2f176; /* rgb */ color: rgb(242, 241, 118); /* oklch */ color: oklch(93.5% 0.145 108.5);
Tailwind
colors: {
custom: {
50: '#f9f5a1',
500: '#f2f176',
950: '#000000',
},
}SCSS
$custom: #f2f176; $custom-light: #f9f5a1; $custom-dark: #000000;
JSON
{
"hex": "#f2f176",
"rgb": {
"r": 242,
"g": 241,
"b": 118
},
"hsl": {
"h": 59.516,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.93471,
"c": 0.14536,
"h": 108.5
},
"luminance": 0.83096
}Semantic roles & 50–950 ramp
primary
#F2F176
secondary
#4041CC
accent
#08DF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580