#F9E56C#F9E56C
#F9E56C is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.5% C 0.142 H 100.0°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).
Color values
| HEX | #F9E56C |
|---|---|
| RGB | rgb(249, 229, 108) |
| HSL | hsl(51, 92%, 70%) |
| HSV | hsv(51, 57%, 98%) |
| CMYK | cmyk(0%, 8%, 56.6%, 2.4%) |
| CIE-LAB | lab(90.44, -7.71, 60.37) |
| CIE-LCH | lch(90.44, 60.86, 97.28°) |
| OKLab | oklab(91.5% -0.0248 0.1402) |
| OKLCH | oklch(91.5% 0.142 100) |
| XYZ | xyz(69.7955, 77.2639, 25.4214) |
| Luminance | 0.7726 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.95
Sandy Yellow
#FDEE73
ΔE00 2.18
Yellow Tan
#FFE36E
ΔE00 2.19
Dull Yellow
#EEDC5B
ΔE00 2.37
Yellowish
#FAEE66
ΔE00 3.00
Pale Gold
#FDDE6C
ΔE00 3.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9E56C #6C80F9
analogous
#F99E6C #F9E56C #C7F96C
triadic
#F9E56C #6CF9E5 #E56CF9
tetradic
#F9E56C #6CF99E #6C80F9 #F96CC7
square
#F9E56C #6CF99E #6C80F9 #F96CC7
split-complementary
#F9E56C #6CC7F9 #9E6CF9
monochromatic
#E1C309 #F7DB31 #F9E56C #FBEFA7 #FEFAE2
Accessibility & contrast
On white
1.28
#F9E56C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.45
#F9E56C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9E56C
16.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9E56C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9E56C | 1.00 | 1.28 | 16.45 | 16.45 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F8DF60
Deuteranopia (green-blind)
#FEE772
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #f9e56c; /* rgb */ color: rgb(249, 229, 108); /* oklch */ color: oklch(91.5% 0.142 100.0);
Tailwind
colors: {
custom: {
50: '#feec9a',
500: '#f9e56c',
950: '#000000',
},
}SCSS
$custom: #f9e56c; $custom-light: #feec9a; $custom-dark: #000000;
JSON
{
"hex": "#f9e56c",
"rgb": {
"r": 249,
"g": 229,
"b": 108
},
"hsl": {
"h": 51.489,
"s": 92.157,
"l": 70
},
"oklch": {
"l": 0.91497,
"c": 0.1424,
"h": 100
},
"luminance": 0.77261
}Semantic roles & 50–950 ramp
primary
#F9E56C
secondary
#364CD4
accent
#21E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F