#F9F57D#F9F57D
#F9F57D is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.9% C 0.142 H 107.1°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).
Color values
| HEX | #F9F57D |
|---|---|
| RGB | rgb(249, 245, 125) |
| HSL | hsl(58, 91%, 73%) |
| HSV | hsv(58, 50%, 98%) |
| CMYK | cmyk(0%, 1.6%, 49.8%, 2.4%) |
| CIE-LAB | lab(94.71, -14.28, 57.62) |
| CIE-LCH | lch(94.71, 59.37, 103.92°) |
| OKLab | oklab(94.94% -0.0418 0.136) |
| OKLCH | oklch(94.94% 0.142 107.1) |
| XYZ | xyz(75.4229, 86.9272, 32.2036) |
| Luminance | 0.8692 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.85
Manilla
#FFFA86
ΔE00 1.23
Yellowish Tan
#FCFC81
ΔE00 1.60
Custard
#FFFD78
ΔE00 2.10
Pale Yellow
#FFFF84
ΔE00 2.11
Butter
#FFFF81
ΔE00 2.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9F57D #7D81F9
analogous
#F9B77D #F9F57D #BFF97D
triadic
#F9F57D #7DF9F5 #F57DF9
tetradic
#F9F57D #7DF9B7 #7D81F9 #F97DBF
square
#F9F57D #7DF9B7 #7D81F9 #F97DBF
split-complementary
#F9F57D #7DBFF9 #B77DF9
monochromatic
#F0E90B #F6F142 #F9F57D #FCFAB7 #FEFDE2
Accessibility & contrast
On white
1.14
#F9F57D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.38
#F9F57D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9F57D
18.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9F57D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9F57D | 1.00 | 1.14 | 18.38 | 18.38 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED72
Deuteranopia (green-blind)
#FFF283
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #f9f57d; /* rgb */ color: rgb(249, 245, 125); /* oklch */ color: oklch(94.9% 0.142 107.1);
Tailwind
colors: {
custom: {
50: '#fdf8a5',
500: '#f9f57d',
950: '#000000',
},
}SCSS
$custom: #f9f57d; $custom-light: #fdf8a5; $custom-dark: #000000;
JSON
{
"hex": "#f9f57d",
"rgb": {
"r": 249,
"g": 245,
"b": 125
},
"hsl": {
"h": 58.065,
"s": 91.176,
"l": 73.333
},
"oklch": {
"l": 0.94942,
"c": 0.14227,
"h": 107.1
},
"luminance": 0.86925
}Semantic roles & 50–950 ramp
primary
#F9F57D
secondary
#4449D6
accent
#07E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580