#F9E56F#F9E56F
#F9E56F is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.5% C 0.140 H 99.8°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).
Color values
| HEX | #F9E56F |
|---|---|
| RGB | rgb(249, 229, 111) |
| HSL | hsl(51, 92%, 71%) |
| HSV | hsv(51, 55%, 98%) |
| CMYK | cmyk(0%, 8%, 55.4%, 2.4%) |
| CIE-LAB | lab(90.47, -7.49, 59.06) |
| CIE-LCH | lch(90.47, 59.53, 97.23°) |
| OKLab | oklab(91.53% -0.0238 0.1377) |
| OKLCH | oklch(91.53% 0.14 99.8) |
| XYZ | xyz(69.9580, 77.3288, 26.2768) |
| Luminance | 0.7733 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 2.02
Yellow Tan
#FFE36E
ΔE00 2.13
Sandy Yellow
#FDEE73
ΔE00 2.23
Dull Yellow
#EEDC5B
ΔE00 2.55
Yellowish
#FAEE66
ΔE00 3.20
Pale Gold
#FDDE6C
ΔE00 3.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9E56F #6F83F9
analogous
#F9A06F #F9E56F #C8F96F
triadic
#F9E56F #6FF9E5 #E56FF9
tetradic
#F9E56F #6FF9A0 #6F83F9 #F96FC8
square
#F9E56F #6FF9A0 #6F83F9 #F96FC8
split-complementary
#F9E56F #6FC8F9 #A06FF9
monochromatic
#E4C40A #F7DA34 #F9E56F #FBF0AA #FEFAE2
Accessibility & contrast
On white
1.28
#F9E56F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.47
#F9E56F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9E56F
16.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9E56F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9E56F | 1.00 | 1.28 | 16.47 | 16.47 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F8DF63
Deuteranopia (green-blind)
#FDE775
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #f9e56f; /* rgb */ color: rgb(249, 229, 111); /* oklch */ color: oklch(91.5% 0.140 99.8);
Tailwind
colors: {
custom: {
50: '#feed9c',
500: '#f9e56f',
950: '#000000',
},
}SCSS
$custom: #f9e56f; $custom-light: #feed9c; $custom-dark: #000000;
JSON
{
"hex": "#f9e56f",
"rgb": {
"r": 249,
"g": 229,
"b": 111
},
"hsl": {
"h": 51.304,
"s": 92,
"l": 70.588
},
"oklch": {
"l": 0.91531,
"c": 0.13977,
"h": 99.8
},
"luminance": 0.77326
}Semantic roles & 50–950 ramp
primary
#F9E56F
secondary
#384FD4
accent
#21E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F