#F9F46C#F9F46C
#F9F46C is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.5% C 0.156 H 107.1°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).
Color values
| HEX | #F9F46C |
|---|---|
| RGB | rgb(249, 244, 108) |
| HSL | hsl(58, 92%, 70%) |
| HSV | hsv(58, 57%, 98%) |
| CMYK | cmyk(0%, 2%, 56.6%, 2.4%) |
| CIE-LAB | lab(94.28, -15.11, 64.70) |
| CIE-LCH | lch(94.28, 66.44, 103.15°) |
| OKLab | oklab(94.55% -0.0459 0.1495) |
| OKLCH | oklch(94.55% 0.156 107.1) |
| XYZ | xyz(74.1266, 85.9260, 26.8651) |
| Luminance | 0.8592 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.35
Butter Yellow
#FFFD74
ΔE00 1.87
Custard
#FFFD78
ΔE00 1.96
Yellowish
#FAEE66
ΔE00 1.98
Pastel Yellow
#FFFE71
ΔE00 2.12
Light Yellow
#FFFE7A
ΔE00 2.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9F46C #6C71F9
analogous
#F9AD6C #F9F46C #B8F96C
triadic
#F9F46C #6CF9F4 #F46CF9
tetradic
#F9F46C #6CF9AD #6C71F9 #F96CB8
square
#F9F46C #6CF9AD #6C71F9 #F96CB8
split-complementary
#F9F46C #6CB8F9 #AD6CF9
monochromatic
#E1DA09 #F7F031 #F9F46C #FBF8A7 #FEFDE2
Accessibility & contrast
On white
1.15
#F9F46C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.18
#F9F46C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9F46C
18.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9F46C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9F46C | 1.00 | 1.15 | 18.18 | 18.18 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB5D
Deuteranopia (green-blind)
#FFF173
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #f9f46c; /* rgb */ color: rgb(249, 244, 108); /* oklch */ color: oklch(94.5% 0.156 107.1);
Tailwind
colors: {
custom: {
50: '#fef79b',
500: '#f9f46c',
950: '#000000',
},
}SCSS
$custom: #f9f46c; $custom-light: #fef79b; $custom-dark: #000000;
JSON
{
"hex": "#f9f46c",
"rgb": {
"r": 249,
"g": 244,
"b": 108
},
"hsl": {
"h": 57.872,
"s": 92.157,
"l": 70
},
"oklch": {
"l": 0.94547,
"c": 0.15639,
"h": 107.1
},
"luminance": 0.85924
}Semantic roles & 50–950 ramp
primary
#F9F46C
secondary
#363BD4
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F