#FDF97D#FDF97D
#FDF97D is a very light, vivid yellow. Relative luminance 0.901; OKLCH L 96.1% C 0.146 H 107.2°. Best body text is #000000 at 19.02:1 contrast (WCAG AA passes).
Color values
| HEX | #FDF97D |
|---|---|
| RGB | rgb(253, 249, 125) |
| HSL | hsl(58, 97%, 74%) |
| HSV | hsv(58, 51%, 99%) |
| CMYK | cmyk(0%, 1.6%, 50.6%, 0.8%) |
| CIE-LAB | lab(96.05, -14.66, 59.28) |
| CIE-LCH | lch(96.05, 61.06, 103.89°) |
| OKLab | oklab(96.08% -0.0431 0.1395) |
| OKLCH | oklch(96.08% 0.146 107.2) |
| XYZ | xyz(78.0874, 90.1168, 32.6789) |
| Luminance | 0.9012 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.76
Manilla
#FFFA86
ΔE00 1.04
Yellowish Tan
#FCFC81
ΔE00 1.09
Custard
#FFFD78
ΔE00 1.26
Light Yellow
#FFFE7A
ΔE00 1.36
Butter
#FFFF81
ΔE00 1.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FDF97D #7D81FD
analogous
#FDB97D #FDF97D #C1FD7D
triadic
#FDF97D #7DFDF9 #F97DFD
tetradic
#FDF97D #7DFDB9 #7D81FD #FD7DC1
square
#FDF97D #7DFDB9 #7D81FD #FD7DC1
split-complementary
#FDF97D #7DC1FD #B97DFD
monochromatic
#FBF304 #FCF641 #FDF97D #FEFCB9 #FFFEE1
Accessibility & contrast
On white
1.10
#FDF97D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.02
#FDF97D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FDF97D
19.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FDF97D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FDF97D | 1.00 | 1.10 | 19.02 | 19.02 |
| #FFFFFF | 1.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF171
Deuteranopia (green-blind)
#FFF683
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F4F4F4
Design tokens & code
CSS
--color: #fdf97d; /* rgb */ color: rgb(253, 249, 125); /* oklch */ color: oklch(96.1% 0.146 107.2);
Tailwind
colors: {
custom: {
50: '#fffba6',
500: '#fdf97d',
950: '#000000',
},
}SCSS
$custom: #fdf97d; $custom-light: #fffba6; $custom-dark: #000000;
JSON
{
"hex": "#fdf97d",
"rgb": {
"r": 253,
"g": 249,
"b": 125
},
"hsl": {
"h": 58.125,
"s": 96.97,
"l": 74.118
},
"oklch": {
"l": 0.96082,
"c": 0.14604,
"h": 107.2
},
"luminance": 0.90115
}Semantic roles & 50–950 ramp
primary
#FDF97D
secondary
#4348DB
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580