#F9DF5A#F9DF5A
#F9DF5A is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 90.1% C 0.152 H 98.2°. Best body text is #000000 at 15.73:1 contrast (WCAG AA passes).
Color values
| HEX | #F9DF5A |
|---|---|
| RGB | rgb(249, 223, 90) |
| HSL | hsl(50, 93%, 66%) |
| HSV | hsv(50, 64%, 98%) |
| CMYK | cmyk(0%, 10.4%, 63.9%, 2.4%) |
| CIE-LAB | lab(88.76, -5.89, 66.28) |
| CIE-LCH | lch(88.76, 66.55, 95.08°) |
| OKLab | oklab(90.11% -0.0216 0.1505) |
| OKLCH | oklch(90.11% 0.152 98.2) |
| XYZ | xyz(67.3030, 73.6564, 20.3429) |
| Luminance | 0.7365 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.26
Light Gold
#FDDC5C
ΔE00 1.99
Yellow Tan
#FFE36E
ΔE00 2.20
Dull Yellow
#EEDC5B
ΔE00 2.29
Pale Gold
#FDDE6C
ΔE00 2.66
Banana
#FFE135
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9DF5A #5A74F9
analogous
#F9905A #F9DF5A #C3F95A
triadic
#F9DF5A #5AF9DF #DF5AF9
tetradic
#F9DF5A #5AF990 #5A74F9 #F95AC3
square
#F9DF5A #5AF990 #5A74F9 #F95AC3
split-complementary
#F9DF5A #5AC3F9 #905AF9
monochromatic
#D1B008 #F7D41F #F9DF5A #FBEA95 #FDF6D0
Accessibility & contrast
On white
1.33
#F9DF5A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.73
#F9DF5A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9DF5A
15.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9DF5A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9DF5A | 1.00 | 1.33 | 15.73 | 15.73 |
| #FFFFFF | 1.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3DA4A
Deuteranopia (green-blind)
#FAE361
Tritanopia (blue-blind)
#FFD0C3
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f9df5a; /* rgb */ color: rgb(249, 223, 90); /* oklch */ color: oklch(90.1% 0.152 98.2);
Tailwind
colors: {
custom: {
50: '#ffe88e',
500: '#f9df5a',
950: '#000000',
},
}SCSS
$custom: #f9df5a; $custom-light: #ffe88e; $custom-dark: #000000;
JSON
{
"hex": "#f9df5a",
"rgb": {
"r": 249,
"g": 223,
"b": 90
},
"hsl": {
"h": 50.189,
"s": 92.982,
"l": 66.471
},
"oklch": {
"l": 0.90112,
"c": 0.15203,
"h": 98.2
},
"luminance": 0.73653
}Semantic roles & 50–950 ramp
primary
#F9DF5A
secondary
#2B45CC
accent
#26E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F