#FDF371#FDF371
#FDF371 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.7% C 0.151 H 104.9°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).
Color values
| HEX | #FDF371 |
|---|---|
| RGB | rgb(253, 243, 113) |
| HSL | hsl(56, 97%, 72%) |
| HSV | hsv(56, 55%, 99%) |
| CMYK | cmyk(0%, 4%, 55.3%, 0.8%) |
| CIE-LAB | lab(94.39, -12.67, 62.73) |
| CIE-LCH | lch(94.39, 63.99, 101.42°) |
| OKLab | oklab(94.73% -0.0387 0.1458) |
| OKLCH | oklch(94.73% 0.151 104.9) |
| XYZ | xyz(75.5416, 86.1785, 28.2745) |
| Luminance | 0.8618 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.30
Yellowish
#FAEE66
ΔE00 1.34
Sandy Yellow
#FDEE73
ΔE00 1.65
Custard
#FFFD78
ΔE00 2.58
Butter Yellow
#FFFD74
ΔE00 2.60
Manilla
#FFFA86
ΔE00 2.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FDF371 #717BFD
analogous
#FDAD71 #FDF371 #C1FD71
triadic
#FDF371 #71FDF3 #F371FD
tetradic
#FDF371 #71FDAD #717BFD #FD71C1
square
#FDF371 #71FDAD #717BFD #FD71C1
split-complementary
#FDF371 #71C1FD #AD71FD
monochromatic
#F0DF03 #FCEE35 #FDF371 #FEF8AD #FFFCE1
Accessibility & contrast
On white
1.15
#FDF371 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.24
#FDF371 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FDF371
18.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FDF371 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FDF371 | 1.00 | 1.15 | 18.24 | 18.24 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB64
Deuteranopia (green-blind)
#FFF278
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #fdf371; /* rgb */ color: rgb(253, 243, 113); /* oklch */ color: oklch(94.7% 0.151 104.9);
Tailwind
colors: {
custom: {
50: '#fff69e',
500: '#fdf371',
950: '#000000',
},
}SCSS
$custom: #fdf371; $custom-light: #fff69e; $custom-dark: #000000;
JSON
{
"hex": "#fdf371",
"rgb": {
"r": 253,
"g": 243,
"b": 113
},
"hsl": {
"h": 55.714,
"s": 97.222,
"l": 71.765
},
"oklch": {
"l": 0.94725,
"c": 0.1508,
"h": 104.9
},
"luminance": 0.86176
}Semantic roles & 50–950 ramp
primary
#FDF371
secondary
#3944D9
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580