#F9F07B#F9F07B
#F9F07B is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.9% C 0.139 H 104.8°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).
Color values
| HEX | #F9F07B |
|---|---|
| RGB | rgb(249, 240, 123) |
| HSL | hsl(56, 91%, 73%) |
| HSV | hsv(56, 51%, 98%) |
| CMYK | cmyk(0%, 3.6%, 50.6%, 2.4%) |
| CIE-LAB | lab(93.40, -12.00, 57.00) |
| CIE-LCH | lch(93.40, 58.25, 101.89°) |
| OKLab | oklab(93.9% -0.0355 0.1344) |
| OKLCH | oklch(93.9% 0.139 104.8) |
| XYZ | xyz(73.8042, 83.8922, 31.0401) |
| Luminance | 0.8389 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.57
Sandy Yellow
#FDEE73
ΔE00 1.74
Manilla
#FFFA86
ΔE00 2.20
Yellowish
#FAEE66
ΔE00 2.42
Yellowish Tan
#FCFC81
ΔE00 3.06
Custard
#FFFD78
ΔE00 3.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9F07B #7B84F9
analogous
#F9B17B #F9F07B #C3F97B
triadic
#F9F07B #7BF9F0 #F07BF9
tetradic
#F9F07B #7BF9B1 #7B84F9 #F97BC3
square
#F9F07B #7BF9B1 #7B84F9 #F97BC3
split-complementary
#F9F07B #7BC3F9 #B17BF9
monochromatic
#EFDE0B #F6E940 #F9F07B #FCF7B6 #FEFCE2
Accessibility & contrast
On white
1.18
#F9F07B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.78
#F9F07B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9F07B
17.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9F07B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9F07B | 1.00 | 1.18 | 17.78 | 17.78 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE970
Deuteranopia (green-blind)
#FFEF81
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f9f07b; /* rgb */ color: rgb(249, 240, 123); /* oklch */ color: oklch(93.9% 0.139 104.8);
Tailwind
colors: {
custom: {
50: '#fdf4a4',
500: '#f9f07b',
950: '#000000',
},
}SCSS
$custom: #f9f07b; $custom-light: #fdf4a4; $custom-dark: #000000;
JSON
{
"hex": "#f9f07b",
"rgb": {
"r": 249,
"g": 240,
"b": 123
},
"hsl": {
"h": 55.714,
"s": 91.304,
"l": 72.941
},
"oklch": {
"l": 0.93898,
"c": 0.13905,
"h": 104.8
},
"luminance": 0.8389
}Semantic roles & 50–950 ramp
primary
#F9F07B
secondary
#434DD6
accent
#10E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580