#F9E062#F9E062
#F9E062 is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.4% C 0.147 H 98.1°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).
Color values
| HEX | #F9E062 |
|---|---|
| RGB | rgb(249, 224, 98) |
| HSL | hsl(50, 93%, 68%) |
| HSV | hsv(50, 61%, 98%) |
| CMYK | cmyk(0%, 10%, 60.6%, 2.4%) |
| CIE-LAB | lab(89.08, -5.90, 63.24) |
| CIE-LCH | lch(89.08, 63.52, 95.33°) |
| OKLab | oklab(90.39% -0.0207 0.1451) |
| OKLCH | oklch(90.39% 0.147 98.1) |
| XYZ | xyz(67.9300, 74.3359, 22.3230) |
| Luminance | 0.7433 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 0.71
Yellow Tan
#FFE36E
ΔE00 1.60
Dull Yellow
#EEDC5B
ΔE00 2.18
Light Gold
#FDDC5C
ΔE00 2.18
Pale Gold
#FDDE6C
ΔE00 2.25
Light Mustard
#F7D560
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9E062 #627BF9
analogous
#F99462 #F9E062 #C7F962
triadic
#F9E062 #62F9E0 #E062F9
tetradic
#F9E062 #62F994 #627BF9 #F962C7
square
#F9E062 #62F994 #627BF9 #F962C7
split-complementary
#F9E062 #62C7F9 #9462F9
monochromatic
#D8B608 #F7D427 #F9E062 #FBEC9D #FEF7D8
Accessibility & contrast
On white
1.32
#F9E062 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.87
#F9E062 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9E062
15.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9E062 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9E062 | 1.00 | 1.32 | 15.87 | 15.87 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DB54
Deuteranopia (green-blind)
#FBE468
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #f9e062; /* rgb */ color: rgb(249, 224, 98); /* oklch */ color: oklch(90.4% 0.147 98.1);
Tailwind
colors: {
custom: {
50: '#fee993',
500: '#f9e062',
950: '#000000',
},
}SCSS
$custom: #f9e062; $custom-light: #fee993; $custom-dark: #000000;
JSON
{
"hex": "#f9e062",
"rgb": {
"r": 249,
"g": 224,
"b": 98
},
"hsl": {
"h": 50.066,
"s": 92.638,
"l": 68.039
},
"oklch": {
"l": 0.90388,
"c": 0.14661,
"h": 98.1
},
"luminance": 0.74333
}Semantic roles & 50–950 ramp
primary
#F9E062
secondary
#2D48D2
accent
#26E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F