#FDF97C#FDF97C
#FDF97C is a very light, vivid yellow. Relative luminance 0.901; OKLCH L 96.1% C 0.147 H 107.2°. Best body text is #000000 at 19.02:1 contrast (WCAG AA passes).
Color values
| HEX | #FDF97C |
|---|---|
| RGB | rgb(253, 249, 124) |
| HSL | hsl(58, 97%, 74%) |
| HSV | hsv(58, 51%, 99%) |
| CMYK | cmyk(0%, 1.6%, 51%, 0.8%) |
| CIE-LAB | lab(96.03, -14.74, 59.72) |
| CIE-LCH | lch(96.03, 61.51, 103.87°) |
| OKLab | oklab(96.07% -0.0435 0.1404) |
| OKLCH | oklch(96.07% 0.147 107.2) |
| XYZ | xyz(78.0238, 90.0914, 32.3442) |
| Luminance | 0.9009 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.73
Yellowish Tan
#FCFC81
ΔE00 1.13
Manilla
#FFFA86
ΔE00 1.16
Custard
#FFFD78
ΔE00 1.18
Light Yellow
#FFFE7A
ΔE00 1.30
Butter
#FFFF81
ΔE00 1.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FDF97C #7C80FD
analogous
#FDB97C #FDF97C #C1FD7C
triadic
#FDF97C #7CFDF9 #F97CFD
tetradic
#FDF97C #7CFDB9 #7C80FD #FD7CC1
square
#FDF97C #7CFDB9 #7C80FD #FD7CC1
split-complementary
#FDF97C #7CC1FD #B97CFD
monochromatic
#FBF304 #FCF640 #FDF97C #FEFCB8 #FFFEE1
Accessibility & contrast
On white
1.10
#FDF97C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.02
#FDF97C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FDF97C
19.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FDF97C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FDF97C | 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)
#FFF170
Deuteranopia (green-blind)
#FFF682
Tritanopia (blue-blind)
#FFEBDD
Achromatopsia (no color)
#F4F4F4
Design tokens & code
CSS
--color: #fdf97c; /* rgb */ color: rgb(253, 249, 124); /* oklch */ color: oklch(96.1% 0.147 107.2);
Tailwind
colors: {
custom: {
50: '#fffba5',
500: '#fdf97c',
950: '#000000',
},
}SCSS
$custom: #fdf97c; $custom-light: #fffba5; $custom-dark: #000000;
JSON
{
"hex": "#fdf97c",
"rgb": {
"r": 253,
"g": 249,
"b": 124
},
"hsl": {
"h": 58.14,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.9607,
"c": 0.14696,
"h": 107.2
},
"luminance": 0.90089
}Semantic roles & 50–950 ramp
primary
#FDF97C
secondary
#4247DB
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580