#F9D85F#F9D85F
#F9D85F is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.8% C 0.143 H 94.0°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).
Color values
| HEX | #F9D85F |
|---|---|
| RGB | rgb(249, 216, 95) |
| HSL | hsl(47, 93%, 67%) |
| HSV | hsv(47, 62%, 98%) |
| CMYK | cmyk(0%, 13.3%, 61.8%, 2.4%) |
| CIE-LAB | lab(87.04, -2.05, 62.30) |
| CIE-LCH | lch(87.04, 62.33, 91.89°) |
| OKLab | oklab(88.76% -0.01 0.1427) |
| OKLCH | oklch(88.76% 0.143 94) |
| XYZ | xyz(65.6913, 70.0810, 20.8911) |
| Luminance | 0.7008 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 0.86
Light Gold
#FDDC5C
ΔE00 1.17
Pale Gold
#FDDE6C
ΔE00 1.62
Maize
#F4D054
ΔE00 1.94
Sand Yellow
#FCE166
ΔE00 2.43
Yellow Tan
#FFE36E
ΔE00 2.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9D85F #5F80F9
analogous
#F98B5F #F9D85F #CDF95F
triadic
#F9D85F #5FF9D8 #D85FF9
tetradic
#F9D85F #5FF98B #5F80F9 #F95FCD
square
#F9D85F #5FF98B #5F80F9 #F95FCD
split-complementary
#F9D85F #5FCDF9 #8B5FF9
monochromatic
#D6AA08 #F7CA24 #F9D85F #FBE69A #FDF5D5
Accessibility & contrast
On white
1.40
#F9D85F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.02
#F9D85F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9D85F
15.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9D85F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9D85F | 1.00 | 1.40 | 15.02 | 15.02 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD452
Deuteranopia (green-blind)
#F5DE65
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f9d85f; /* rgb */ color: rgb(249, 216, 95); /* oklch */ color: oklch(88.8% 0.143 94.0);
Tailwind
colors: {
custom: {
50: '#ffe391',
500: '#f9d85f',
950: '#000000',
},
}SCSS
$custom: #f9d85f; $custom-light: #ffe391; $custom-dark: #000000;
JSON
{
"hex": "#f9d85f",
"rgb": {
"r": 249,
"g": 216,
"b": 95
},
"hsl": {
"h": 47.143,
"s": 92.771,
"l": 67.451
},
"oklch": {
"l": 0.88762,
"c": 0.14307,
"h": 94
},
"luminance": 0.70078
}Semantic roles & 50–950 ramp
primary
#F9D85F
secondary
#2C4FD0
accent
#31E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F