#F6F978#F6F978
#F6F978 is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.5% C 0.152 H 110.2°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).
Color values
| HEX | #F6F978 |
|---|---|
| RGB | rgb(246, 249, 120) |
| HSL | hsl(61, 91%, 72%) |
| HSV | hsv(61, 52%, 98%) |
| CMYK | cmyk(1.2%, 0%, 51.8%, 2.4%) |
| CIE-LAB | lab(95.46, -17.81, 60.70) |
| CIE-LCH | lch(95.46, 63.26, 106.35°) |
| OKLab | oklab(95.46% -0.0522 0.1422) |
| OKLCH | oklch(95.46% 0.152 110.2) |
| XYZ | xyz(75.2736, 88.7020, 30.9216) |
| Luminance | 0.8870 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.19
Faded Yellow
#FEFF7F
ΔE00 1.37
Banana (survey)
#FFFF7E
ΔE00 1.49
Butter
#FFFF81
ΔE00 1.53
Light Yellow
#FFFE7A
ΔE00 1.53
Custard
#FFFD78
ΔE00 1.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F6F978 #7B78F9
analogous
#F9BB78 #F6F978 #B6F978
triadic
#F6F978 #78F6F9 #F978F6
tetradic
#F6F978 #78F9BB #7B78F9 #F978B6
square
#F6F978 #78F9BB #7B78F9 #F978B6
split-complementary
#F6F978 #78B6F9 #BB78F9
monochromatic
#E7EC0A #F2F63D #F6F978 #FAFCB3 #FDFEE2
Accessibility & contrast
On white
1.12
#F6F978 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.74
#F6F978 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F6F978
18.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F6F978 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F6F978 | 1.00 | 1.12 | 18.74 | 18.74 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF06B
Deuteranopia (green-blind)
#FFF47F
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #f6f978; /* rgb */ color: rgb(246, 249, 120); /* oklch */ color: oklch(95.5% 0.152 110.2);
Tailwind
colors: {
custom: {
50: '#fbfba2',
500: '#f6f978',
950: '#000000',
},
}SCSS
$custom: #f6f978; $custom-light: #fbfba2; $custom-dark: #000000;
JSON
{
"hex": "#f6f978",
"rgb": {
"r": 246,
"g": 249,
"b": 120
},
"hsl": {
"h": 61.395,
"s": 91.489,
"l": 72.353
},
"oklch": {
"l": 0.95464,
"c": 0.15154,
"h": 110.2
},
"luminance": 0.887
}Semantic roles & 50–950 ramp
primary
#F6F978
secondary
#4440D5
accent
#00E605
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580