#F6F166#F6F166
#F6F166 is a very light, vivid yellow. Relative luminance 0.835; OKLCH L 93.6% C 0.159 H 107.2°. Best body text is #000000 at 17.69:1 contrast (WCAG AA passes).
Color values
| HEX | #F6F166 |
|---|---|
| RGB | rgb(246, 241, 102) |
| HSL | hsl(58, 89%, 68%) |
| HSV | hsv(58, 59%, 96%) |
| CMYK | cmyk(0%, 2%, 58.5%, 3.5%) |
| CIE-LAB | lab(93.22, -15.26, 66.01) |
| CIE-LCH | lch(93.22, 67.76, 103.02°) |
| OKLab | oklab(93.63% -0.0468 0.1516) |
| OKLCH | oklch(93.63% 0.159 107.2) |
| XYZ | xyz(71.8619, 83.4649, 24.8927) |
| Luminance | 0.8346 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.71
Straw
#FCF679
ΔE00 1.96
Butter Yellow
#FFFD74
ΔE00 2.51
Custard
#FFFD78
ΔE00 2.64
Pastel Yellow
#FFFE71
ΔE00 2.69
Sandy Yellow
#FDEE73
ΔE00 2.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F6F166 #666BF6
analogous
#F6A966 #F6F166 #B3F666
triadic
#F6F166 #66F6F1 #F166F6
tetradic
#F6F166 #66F6A9 #666BF6 #F666B3
square
#F6F166 #66F6A9 #666BF6 #F666B3
split-complementary
#F6F166 #66B3F6 #A966F6
monochromatic
#D5CE0D #F3EC2C #F6F166 #F9F6A0 #FDFCDA
Accessibility & contrast
On white
1.19
#F6F166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.69
#F6F166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F6F166
17.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F6F166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F6F166 | 1.00 | 1.19 | 17.69 | 17.69 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE856
Deuteranopia (green-blind)
#FFEE6E
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #f6f166; /* rgb */ color: rgb(246, 241, 102); /* oklch */ color: oklch(93.6% 0.159 107.2);
Tailwind
colors: {
custom: {
50: '#fcf597',
500: '#f6f166',
950: '#000000',
},
}SCSS
$custom: #f6f166; $custom-light: #fcf597; $custom-dark: #000000;
JSON
{
"hex": "#f6f166",
"rgb": {
"r": 246,
"g": 241,
"b": 102
},
"hsl": {
"h": 57.917,
"s": 88.889,
"l": 68.235
},
"oklch": {
"l": 0.93626,
"c": 0.15869,
"h": 107.2
},
"luminance": 0.83463
}Semantic roles & 50–950 ramp
primary
#F6F166
secondary
#3137CF
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F