#F9F582#F9F582
#F9F582 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 95.0% C 0.137 H 107.0°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).
Color values
| HEX | #F9F582 |
|---|---|
| RGB | rgb(249, 245, 130) |
| HSL | hsl(58, 91%, 74%) |
| HSV | hsv(58, 48%, 98%) |
| CMYK | cmyk(0%, 1.6%, 47.8%, 2.4%) |
| CIE-LAB | lab(94.76, -13.85, 55.38) |
| CIE-LCH | lch(94.76, 57.09, 104.04°) |
| OKLab | oklab(95% -0.0401 0.1315) |
| OKLCH | oklch(95% 0.137 107) |
| XYZ | xyz(75.7504, 87.0582, 33.9284) |
| Luminance | 0.8706 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 1.09
Straw
#FCF679
ΔE00 1.40
Yellowish Tan
#FCFC81
ΔE00 1.76
Pale Yellow
#FFFF84
ΔE00 2.22
Butter
#FFFF81
ΔE00 2.35
Faded Yellow
#FEFF7F
ΔE00 2.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9F582 #8286F9
analogous
#F9BA82 #F9F582 #C2F982
triadic
#F9F582 #82F9F5 #F582F9
tetradic
#F9F582 #82F9BA #8286F9 #F982C2
square
#F9F582 #82F9BA #8286F9 #F982C2
split-complementary
#F9F582 #82C2F9 #BA82F9
monochromatic
#F3EC0D #F6F048 #F9F582 #FCFABC #FEFDE2
Accessibility & contrast
On white
1.14
#F9F582 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.41
#F9F582 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9F582
18.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9F582 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9F582 | 1.00 | 1.14 | 18.41 | 18.41 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED78
Deuteranopia (green-blind)
#FFF288
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #f9f582; /* rgb */ color: rgb(249, 245, 130); /* oklch */ color: oklch(95.0% 0.137 107.0);
Tailwind
colors: {
custom: {
50: '#fdf8a9',
500: '#f9f582',
950: '#000000',
},
}SCSS
$custom: #f9f582; $custom-light: #fdf8a9; $custom-dark: #000000;
JSON
{
"hex": "#f9f582",
"rgb": {
"r": 249,
"g": 245,
"b": 130
},
"hsl": {
"h": 57.983,
"s": 90.84,
"l": 74.314
},
"oklch": {
"l": 0.95004,
"c": 0.13748,
"h": 107
},
"luminance": 0.87056
}Semantic roles & 50–950 ramp
primary
#F9F582
secondary
#494ED6
accent
#08E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581