#FDF372#FDF372
#FDF372 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.7% C 0.150 H 104.8°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).
Color values
| HEX | #FDF372 |
|---|---|
| RGB | rgb(253, 243, 114) |
| HSL | hsl(56, 97%, 72%) |
| HSV | hsv(56, 55%, 99%) |
| CMYK | cmyk(0%, 4%, 54.9%, 0.8%) |
| CIE-LAB | lab(94.40, -12.59, 62.30) |
| CIE-LCH | lch(94.40, 63.56, 101.43°) |
| OKLab | oklab(94.74% -0.0384 0.145) |
| OKLCH | oklch(94.74% 0.15 104.8) |
| XYZ | xyz(75.5982, 86.2012, 28.5726) |
| Luminance | 0.8620 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.24
Yellowish
#FAEE66
ΔE00 1.41
Sandy Yellow
#FDEE73
ΔE00 1.61
Manilla
#FFFA86
ΔE00 2.53
Custard
#FFFD78
ΔE00 2.59
Butter Yellow
#FFFD74
ΔE00 2.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FDF372 #727CFD
analogous
#FDAD72 #FDF372 #C2FD72
triadic
#FDF372 #72FDF3 #F372FD
tetradic
#FDF372 #72FDAD #727CFD #FD72C2
square
#FDF372 #72FDAD #727CFD #FD72C2
split-complementary
#FDF372 #72C2FD #AD72FD
monochromatic
#F1E003 #FCEE36 #FDF372 #FEF8AE #FFFCE1
Accessibility & contrast
On white
1.15
#FDF372 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.24
#FDF372 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FDF372
18.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FDF372 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FDF372 | 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)
#FFEB65
Deuteranopia (green-blind)
#FFF279
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #fdf372; /* rgb */ color: rgb(253, 243, 114); /* oklch */ color: oklch(94.7% 0.150 104.8);
Tailwind
colors: {
custom: {
50: '#fff69e',
500: '#fdf372',
950: '#000000',
},
}SCSS
$custom: #fdf372; $custom-light: #fff69e; $custom-dark: #000000;
JSON
{
"hex": "#fdf372",
"rgb": {
"r": 253,
"g": 243,
"b": 114
},
"hsl": {
"h": 55.683,
"s": 97.203,
"l": 71.961
},
"oklch": {
"l": 0.94736,
"c": 0.14994,
"h": 104.8
},
"luminance": 0.86199
}Semantic roles & 50–950 ramp
primary
#FDF372
secondary
#3A45D9
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580