#F6F871#F6F871
#F6F871 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.2% C 0.157 H 109.8°. Best body text is #000000 at 18.58:1 contrast (WCAG AA passes).
Color values
| HEX | #F6F871 |
|---|---|
| RGB | rgb(246, 248, 113) |
| HSL | hsl(61, 91%, 71%) |
| HSV | hsv(61, 54%, 97%) |
| CMYK | cmyk(0.8%, 0%, 54.4%, 2.7%) |
| CIE-LAB | lab(95.13, -17.88, 63.42) |
| CIE-LCH | lch(95.13, 65.89, 105.74°) |
| OKLab | oklab(95.18% -0.0531 0.1474) |
| OKLCH | oklch(95.18% 0.157 109.8) |
| XYZ | xyz(74.5560, 87.9217, 28.6627) |
| Luminance | 0.8792 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Custard
#FFFD78
ΔE00 1.48
Butter Yellow
#FFFD74
ΔE00 1.50
Light Yellow
#FFFE7A
ΔE00 1.53
Pastel Yellow
#FFFE71
ΔE00 1.64
Yellowish Tan
#FCFC81
ΔE00 1.72
Faded Yellow
#FEFF7F
ΔE00 1.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F6F871 #7371F8
analogous
#F8B671 #F6F871 #B2F871
triadic
#F6F871 #71F6F8 #F871F6
tetradic
#F6F871 #71F8B6 #7371F8 #F871B2
square
#F6F871 #71F8B6 #7371F8 #F871B2
split-complementary
#F6F871 #71B2F8 #B671F8
monochromatic
#E0E30B #F2F537 #F6F871 #FAFBAB #FDFEE2
Accessibility & contrast
On white
1.13
#F6F871 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.58
#F6F871 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F6F871
18.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F6F871 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F6F871 | 1.00 | 1.13 | 18.58 | 18.58 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF63
Deuteranopia (green-blind)
#FFF378
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #f6f871; /* rgb */ color: rgb(246, 248, 113); /* oklch */ color: oklch(95.2% 0.157 109.8);
Tailwind
colors: {
custom: {
50: '#fcfa9e',
500: '#f6f871',
950: '#000000',
},
}SCSS
$custom: #f6f871; $custom-light: #fcfa9e; $custom-dark: #000000;
JSON
{
"hex": "#f6f871",
"rgb": {
"r": 246,
"g": 248,
"b": 113
},
"hsl": {
"h": 60.889,
"s": 90.604,
"l": 70.784
},
"oklch": {
"l": 0.95181,
"c": 0.15666,
"h": 109.8
},
"luminance": 0.8792
}Semantic roles & 50–950 ramp
primary
#F6F871
secondary
#3D3AD3
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580