#FDF291#FDF291
#FDF291 is a very light, moderate yellow. Relative luminance 0.864; OKLCH L 94.9% C 0.119 H 102.7°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).
Color values
| HEX | #FDF291 |
|---|---|
| RGB | rgb(253, 242, 145) |
| HSL | hsl(54, 96%, 78%) |
| HSV | hsv(54, 43%, 99%) |
| CMYK | cmyk(0%, 4.3%, 42.7%, 0.8%) |
| CIE-LAB | lab(94.50, -9.42, 48.00) |
| CIE-LCH | lch(94.50, 48.92, 101.10°) |
| OKLab | oklab(94.93% -0.0262 0.1161) |
| OKLCH | oklch(94.93% 0.119 102.7) |
| XYZ | xyz(77.3726, 86.4335, 39.3901) |
| Luminance | 0.8643 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Cream
#FFF39A
ΔE00 1.31
Buff
#FEF69E
ΔE00 1.84
Khaki (CSS)
#F0E68C
ΔE00 2.74
Manilla
#FFFA86
ΔE00 3.17
Sandy Yellow
#FDEE73
ΔE00 3.77
Straw
#FCF679
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FDF291 #919CFD
analogous
#FDBC91 #FDF291 #D2FD91
triadic
#FDF291 #91FDF2 #F291FD
tetradic
#FDF291 #91FDBC #919CFD #FD91D2
square
#FDF291 #91FDBC #919CFD #FD91D2
split-complementary
#FDF291 #91D2FD #BC91FD
monochromatic
#FBE419 #FCEB55 #FDF291 #FEF9CD #FEFBE1
Accessibility & contrast
On white
1.15
#FDF291 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.29
#FDF291 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FDF291
18.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FDF291 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FDF291 | 1.00 | 1.15 | 18.29 | 18.29 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC89
Deuteranopia (green-blind)
#FFF295
Tritanopia (blue-blind)
#FFE6DA
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #fdf291; /* rgb */ color: rgb(253, 242, 145); /* oklch */ color: oklch(94.9% 0.119 102.7);
Tailwind
colors: {
custom: {
50: '#fff6b3',
500: '#fdf291',
950: '#000000',
},
}SCSS
$custom: #fdf291; $custom-light: #fff6b3; $custom-dark: #000000;
JSON
{
"hex": "#fdf291",
"rgb": {
"r": 253,
"g": 242,
"b": 145
},
"hsl": {
"h": 53.889,
"s": 96.429,
"l": 78.039
},
"oklch": {
"l": 0.94929,
"c": 0.11903,
"h": 102.7
},
"luminance": 0.86431
}Semantic roles & 50–950 ramp
primary
#FDF291
secondary
#5462DE
accent
#17E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581