#FDF17C#FDF17C
#FDF17C is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.4% C 0.139 H 103.4°. Best body text is #000000 at 18.05:1 contrast (WCAG AA passes).
Color values
| HEX | #FDF17C |
|---|---|
| RGB | rgb(253, 241, 124) |
| HSL | hsl(54, 97%, 74%) |
| HSV | hsv(54, 51%, 99%) |
| CMYK | cmyk(0%, 4.7%, 51%, 0.8%) |
| CIE-LAB | lab(93.99, -10.83, 57.31) |
| CIE-LCH | lch(93.99, 58.33, 100.70°) |
| OKLab | oklab(94.45% -0.0323 0.1352) |
| OKLCH | oklch(94.45% 0.139 103.4) |
| XYZ | xyz(75.6036, 85.2509, 31.5374) |
| Luminance | 0.8525 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 1.23
Straw
#FCF679
ΔE00 1.86
Yellowish
#FAEE66
ΔE00 2.33
Manilla
#FFFA86
ΔE00 2.40
Yellowish Tan
#FCFC81
ΔE00 3.45
Custard
#FFFD78
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FDF17C #7C88FD
analogous
#FDB17C #FDF17C #C8FD7C
triadic
#FDF17C #7CFDF1 #F17CFD
tetradic
#FDF17C #7CFDB1 #7C88FD #FD7CC8
square
#FDF17C #7CFDB1 #7C88FD #FD7CC8
split-complementary
#FDF17C #7CC8FD #B17CFD
monochromatic
#FBE404 #FCEB40 #FDF17C #FEF7B8 #FFFCE1
Accessibility & contrast
On white
1.16
#FDF17C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.05
#FDF17C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FDF17C
18.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FDF17C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FDF17C | 1.00 | 1.16 | 18.05 | 18.05 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA71
Deuteranopia (green-blind)
#FFF182
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #fdf17c; /* rgb */ color: rgb(253, 241, 124); /* oklch */ color: oklch(94.4% 0.139 103.4);
Tailwind
colors: {
custom: {
50: '#fff5a5',
500: '#fdf17c',
950: '#000000',
},
}SCSS
$custom: #fdf17c; $custom-light: #fff5a5; $custom-dark: #000000;
JSON
{
"hex": "#fdf17c",
"rgb": {
"r": 253,
"g": 241,
"b": 124
},
"hsl": {
"h": 54.419,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.94446,
"c": 0.13895,
"h": 103.4
},
"luminance": 0.85248
}Semantic roles & 50–950 ramp
primary
#FDF17C
secondary
#4250DB
accent
#15E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580