#F6F478#F6F478
#F6F478 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.4% C 0.146 H 108.1°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).
Color values
| HEX | #F6F478 |
|---|---|
| RGB | rgb(246, 244, 120) |
| HSL | hsl(59, 88%, 72%) |
| HSV | hsv(59, 51%, 96%) |
| CMYK | cmyk(0%, 0.8%, 51.2%, 3.5%) |
| CIE-LAB | lab(94.16, -15.39, 59.20) |
| CIE-LCH | lch(94.16, 61.17, 104.57°) |
| OKLab | oklab(94.44% -0.0453 0.139) |
| OKLCH | oklch(94.44% 0.146 108.1) |
| XYZ | xyz(73.7487, 85.6522, 30.4133) |
| Luminance | 0.8565 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.13
Yellowish Tan
#FCFC81
ΔE00 1.67
Manilla
#FFFA86
ΔE00 1.83
Custard
#FFFD78
ΔE00 2.04
Light Yellow
#FFFE7A
ΔE00 2.14
Butter
#FFFF81
ΔE00 2.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F6F478 #787AF6
analogous
#F6B578 #F6F478 #B9F678
triadic
#F6F478 #78F6F4 #F478F6
tetradic
#F6F478 #78F6B5 #787AF6 #F678B9
square
#F6F478 #78F6B5 #787AF6 #F678B9
split-complementary
#F6F478 #78B9F6 #B578F6
monochromatic
#E4E10F #F2EF3F #F6F478 #FAF9B1 #FDFDE2
Accessibility & contrast
On white
1.16
#F6F478 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.13
#F6F478 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F6F478
18.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F6F478 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F6F478 | 1.00 | 1.16 | 18.13 | 18.13 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC6C
Deuteranopia (green-blind)
#FFF07E
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f6f478; /* rgb */ color: rgb(246, 244, 120); /* oklch */ color: oklch(94.4% 0.146 108.1);
Tailwind
colors: {
custom: {
50: '#fbf7a2',
500: '#f6f478',
950: '#000000',
},
}SCSS
$custom: #f6f478; $custom-light: #fbf7a2; $custom-dark: #000000;
JSON
{
"hex": "#f6f478",
"rgb": {
"r": 246,
"g": 244,
"b": 120
},
"hsl": {
"h": 59.048,
"s": 87.5,
"l": 71.765
},
"oklch": {
"l": 0.94435,
"c": 0.1462,
"h": 108.1
},
"luminance": 0.8565
}Semantic roles & 50–950 ramp
primary
#F6F478
secondary
#4143D1
accent
#05E401
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580