#F9F78D#F9F78D
#F9F78D is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.6% C 0.129 H 107.7°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).
Color values
| HEX | #F9F78D |
|---|---|
| RGB | rgb(249, 247, 141) |
| HSL | hsl(59, 90%, 76%) |
| HSV | hsv(59, 43%, 98%) |
| CMYK | cmyk(0%, 0.8%, 43.4%, 2.4%) |
| CIE-LAB | lab(95.41, -13.82, 50.99) |
| CIE-LCH | lch(95.41, 52.83, 105.16°) |
| OKLab | oklab(95.56% -0.039 0.1226) |
| OKLCH | oklch(95.56% 0.129 107.7) |
| XYZ | xyz(77.1369, 88.5861, 38.2296) |
| Luminance | 0.8858 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 1.71
Yellowish Tan
#FCFC81
ΔE00 2.32
Pale Yellow
#FFFF84
ΔE00 2.58
Straw
#FCF679
ΔE00 2.77
Butter
#FFFF81
ΔE00 2.87
Buff
#FEF69E
ΔE00 3.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9F78D #8D8FF9
analogous
#F9C18D #F9F78D #C5F98D
triadic
#F9F78D #8DF9F7 #F78DF9
tetradic
#F9F78D #8DF9C1 #8D8FF9 #F98DC5
square
#F9F78D #8DF9C1 #8D8FF9 #F98DC5
split-complementary
#F9F78D #8DC5F9 #C18DF9
monochromatic
#F3EF19 #F6F353 #F9F78D #FCFBC7 #FDFDE2
Accessibility & contrast
On white
1.12
#F9F78D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.72
#F9F78D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9F78D
18.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9F78D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9F78D | 1.00 | 1.12 | 18.72 | 18.72 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF84
Deuteranopia (green-blind)
#FFF492
Tritanopia (blue-blind)
#FFEBDE
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #f9f78d; /* rgb */ color: rgb(249, 247, 141); /* oklch */ color: oklch(95.6% 0.129 107.7);
Tailwind
colors: {
custom: {
50: '#fdf9b0',
500: '#f9f78d',
950: '#000000',
},
}SCSS
$custom: #f9f78d; $custom-light: #fdf9b0; $custom-dark: #000000;
JSON
{
"hex": "#f9f78d",
"rgb": {
"r": 249,
"g": 247,
"b": 141
},
"hsl": {
"h": 58.889,
"s": 90,
"l": 76.471
},
"oklch": {
"l": 0.95559,
"c": 0.12864,
"h": 107.7
},
"luminance": 0.88584
}Semantic roles & 50–950 ramp
primary
#F9F78D
secondary
#5255D8
accent
#04E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181711
muted
#868581