#F9F77A#F9F77A
#F9F77A is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.3% C 0.147 H 108.1°. Best body text is #000000 at 18.61:1 contrast (WCAG AA passes).
Color values
| HEX | #F9F77A |
|---|---|
| RGB | rgb(249, 247, 122) |
| HSL | hsl(59, 91%, 73%) |
| HSV | hsv(59, 51%, 98%) |
| CMYK | cmyk(0%, 0.8%, 51%, 2.4%) |
| CIE-LAB | lab(95.19, -15.50, 59.55) |
| CIE-LCH | lch(95.19, 61.54, 104.59°) |
| OKLab | oklab(95.32% -0.0456 0.1399) |
| OKLCH | oklch(95.32% 0.147 108.1) |
| XYZ | xyz(75.8424, 88.0684, 31.4123) |
| Luminance | 0.8807 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.96
Yellowish Tan
#FCFC81
ΔE00 1.13
Custard
#FFFD78
ΔE00 1.47
Manilla
#FFFA86
ΔE00 1.49
Light Yellow
#FFFE7A
ΔE00 1.55
Butter
#FFFF81
ΔE00 1.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9F77A #7A7CF9
analogous
#F9B77A #F9F77A #BCF97A
triadic
#F9F77A #7AF9F7 #F77AF9
tetradic
#F9F77A #7AF9B7 #7A7CF9 #F97ABC
square
#F9F77A #7AF9B7 #7A7CF9 #F97ABC
split-complementary
#F9F77A #7ABCF9 #B77AF9
monochromatic
#EEEA0B #F6F33F #F9F77A #FCFBB5 #FEFDE2
Accessibility & contrast
On white
1.13
#F9F77A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.61
#F9F77A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9F77A
18.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9F77A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9F77A | 1.00 | 1.13 | 18.61 | 18.61 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF6E
Deuteranopia (green-blind)
#FFF380
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #f9f77a; /* rgb */ color: rgb(249, 247, 122); /* oklch */ color: oklch(95.3% 0.147 108.1);
Tailwind
colors: {
custom: {
50: '#fef9a4',
500: '#f9f77a',
950: '#000000',
},
}SCSS
$custom: #f9f77a; $custom-light: #fef9a4; $custom-dark: #000000;
JSON
{
"hex": "#f9f77a",
"rgb": {
"r": 249,
"g": 247,
"b": 122
},
"hsl": {
"h": 59.055,
"s": 91.367,
"l": 72.745
},
"oklch": {
"l": 0.95315,
"c": 0.14715,
"h": 108.1
},
"luminance": 0.88066
}Semantic roles & 50–950 ramp
primary
#F9F77A
secondary
#4244D5
accent
#04E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580