#F6F170#F6F170
#F6F170 is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.7% C 0.150 H 106.9°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).
Color values
| HEX | #F6F170 |
|---|---|
| RGB | rgb(246, 241, 112) |
| HSL | hsl(58, 88%, 70%) |
| HSV | hsv(58, 54%, 96%) |
| CMYK | cmyk(0%, 2%, 54.5%, 3.5%) |
| CIE-LAB | lab(93.31, -14.55, 61.79) |
| CIE-LCH | lch(93.31, 63.48, 103.25°) |
| OKLab | oklab(93.73% -0.0438 0.1438) |
| OKLCH | oklch(93.73% 0.15 106.9) |
| XYZ | xyz(72.3880, 83.6754, 27.6639) |
| Luminance | 0.8367 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.22
Yellowish
#FAEE66
ΔE00 2.00
Custard
#FFFD78
ΔE00 2.46
Sandy Yellow
#FDEE73
ΔE00 2.52
Butter Yellow
#FFFD74
ΔE00 2.52
Manilla
#FFFA86
ΔE00 2.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F6F170 #7075F6
analogous
#F6AE70 #F6F170 #B8F670
triadic
#F6F170 #70F6F1 #F170F6
tetradic
#F6F170 #70F6AE #7075F6 #F670B8
square
#F6F170 #70F6AE #7075F6 #F670B8
split-complementary
#F6F170 #70B8F6 #AE70F6
monochromatic
#DED60E #F2EB36 #F6F170 #FAF7AA #FDFCE2
Accessibility & contrast
On white
1.18
#F6F170 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.73
#F6F170 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F6F170
17.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F6F170 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F6F170 | 1.00 | 1.18 | 17.73 | 17.73 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE963
Deuteranopia (green-blind)
#FFEE77
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f6f170; /* rgb */ color: rgb(246, 241, 112); /* oklch */ color: oklch(93.7% 0.150 106.9);
Tailwind
colors: {
custom: {
50: '#fcf59d',
500: '#f6f170',
950: '#000000',
},
}SCSS
$custom: #f6f170; $custom-light: #fcf59d; $custom-dark: #000000;
JSON
{
"hex": "#f6f170",
"rgb": {
"r": 246,
"g": 241,
"b": 112
},
"hsl": {
"h": 57.761,
"s": 88.158,
"l": 70.196
},
"oklch": {
"l": 0.93729,
"c": 0.15028,
"h": 106.9
},
"luminance": 0.83673
}Semantic roles & 50–950 ramp
primary
#F6F170
secondary
#3A3FD0
accent
#09E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580