#FDF97F#FDF97F
#FDF97F is a very light, vivid yellow. Relative luminance 0.902; OKLCH L 96.1% C 0.144 H 107.1°. Best body text is #000000 at 19.03:1 contrast (WCAG AA passes).
Color values
| HEX | #FDF97F |
|---|---|
| RGB | rgb(253, 249, 127) |
| HSL | hsl(58, 97%, 75%) |
| HSV | hsv(58, 50%, 99%) |
| CMYK | cmyk(0%, 1.6%, 49.8%, 0.8%) |
| CIE-LAB | lab(96.07, -14.49, 58.39) |
| CIE-LCH | lch(96.07, 60.16, 103.94°) |
| OKLab | oklab(96.11% -0.0425 0.1378) |
| OKLCH | oklch(96.11% 0.144 107.1) |
| XYZ | xyz(78.2164, 90.1684, 33.3586) |
| Luminance | 0.9017 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 0.82
Straw
#FCF679
ΔE00 0.87
Yellowish Tan
#FCFC81
ΔE00 1.05
Pale Yellow
#FFFF84
ΔE00 1.43
Butter
#FFFF81
ΔE00 1.44
Custard
#FFFD78
ΔE00 1.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FDF97F #7F83FD
analogous
#FDBA7F #FDF97F #C2FD7F
triadic
#FDF97F #7FFDF9 #F97FFD
tetradic
#FDF97F #7FFDBA #7F83FD #FD7FC2
square
#FDF97F #7FFDBA #7F83FD #FD7FC2
split-complementary
#FDF97F #7FC2FD #BA7FFD
monochromatic
#FBF306 #FCF643 #FDF97F #FEFCBB #FFFEE1
Accessibility & contrast
On white
1.10
#FDF97F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.03
#FDF97F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FDF97F
19.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FDF97F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FDF97F | 1.00 | 1.10 | 19.03 | 19.03 |
| #FFFFFF | 1.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF174
Deuteranopia (green-blind)
#FFF685
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F4F4F4
Design tokens & code
CSS
--color: #fdf97f; /* rgb */ color: rgb(253, 249, 127); /* oklch */ color: oklch(96.1% 0.144 107.1);
Tailwind
colors: {
custom: {
50: '#fffba7',
500: '#fdf97f',
950: '#000000',
},
}SCSS
$custom: #fdf97f; $custom-light: #fffba7; $custom-dark: #000000;
JSON
{
"hex": "#fdf97f",
"rgb": {
"r": 253,
"g": 249,
"b": 127
},
"hsl": {
"h": 58.095,
"s": 96.923,
"l": 74.51
},
"oklch": {
"l": 0.96106,
"c": 0.14417,
"h": 107.1
},
"luminance": 0.90166
}Semantic roles & 50–950 ramp
primary
#FDF97F
secondary
#454ADB
accent
#07E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581