#F2F170#F2F170
#F2F170 is a very light, vivid yellow. Relative luminance 0.830; OKLCH L 93.4% C 0.151 H 108.6°. Best body text is #000000 at 17.59:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F170 |
|---|---|
| RGB | rgb(242, 241, 112) |
| HSL | hsl(60, 83%, 69%) |
| HSV | hsv(60, 54%, 95%) |
| CMYK | cmyk(0%, 0.4%, 53.7%, 5.1%) |
| CIE-LAB | lab(93.00, -16.14, 61.35) |
| CIE-LCH | lch(93.00, 63.44, 104.74°) |
| OKLab | oklab(93.4% -0.0481 0.1429) |
| OKLCH | oklch(93.4% 0.151 108.6) |
| XYZ | xyz(70.9998, 82.9596, 27.5988) |
| Luminance | 0.8296 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.75
Yellowish Tan
#FCFC81
ΔE00 2.44
Custard
#FFFD78
ΔE00 2.53
Butter Yellow
#FFFD74
ΔE00 2.62
Light Yellow
#FFFE7A
ΔE00 2.67
Manilla
#FFFA86
ΔE00 2.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F170 #7071F2
analogous
#F2B070 #F2F170 #B2F270
triadic
#F2F170 #70F2F1 #F170F2
tetradic
#F2F170 #70F2B0 #7071F2 #F270B2
square
#F2F170 #70F2B0 #7071F2 #F270B2
split-complementary
#F2F170 #70B2F2 #B070F2
monochromatic
#D4D313 #EDEC38 #F2F170 #F7F6A8 #FCFCE0
Accessibility & contrast
On white
1.19
#F2F170 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.59
#F2F170 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F170
17.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F170 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F170 | 1.00 | 1.19 | 17.59 | 17.59 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE863
Deuteranopia (green-blind)
#FFED77
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #f2f170; /* rgb */ color: rgb(242, 241, 112); /* oklch */ color: oklch(93.4% 0.151 108.6);
Tailwind
colors: {
custom: {
50: '#f9f59d',
500: '#f2f170',
950: '#000000',
},
}SCSS
$custom: #f2f170; $custom-light: #f9f59d; $custom-dark: #000000;
JSON
{
"hex": "#f2f170",
"rgb": {
"r": 242,
"g": 241,
"b": 112
},
"hsl": {
"h": 59.538,
"s": 83.333,
"l": 69.412
},
"oklch": {
"l": 0.93404,
"c": 0.15077,
"h": 108.6
},
"luminance": 0.82958
}Semantic roles & 50–950 ramp
primary
#F2F170
secondary
#3B3CCB
accent
#07E006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580