#FDF586#FDF586
#FDF586 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.4% C 0.133 H 105.0°. Best body text is #000000 at 18.58:1 contrast (WCAG AA passes).
Color values
| HEX | #FDF586 |
|---|---|
| RGB | rgb(253, 245, 134) |
| HSL | hsl(56, 97%, 76%) |
| HSV | hsv(56, 47%, 99%) |
| CMYK | cmyk(0%, 3.2%, 47%, 0.8%) |
| CIE-LAB | lab(95.12, -11.93, 54.02) |
| CIE-LCH | lch(95.12, 55.32, 102.46°) |
| OKLab | oklab(95.38% -0.0344 0.1288) |
| OKLCH | oklch(95.38% 0.133 105) |
| XYZ | xyz(77.4654, 87.9109, 35.4375) |
| Luminance | 0.8791 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 1.28
Straw
#FCF679
ΔE00 1.77
Yellowish Tan
#FCFC81
ΔE00 2.53
Sandy Yellow
#FDEE73
ΔE00 2.75
Pale Yellow
#FFFF84
ΔE00 2.83
Butter
#FFFF81
ΔE00 2.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FDF586 #868EFD
analogous
#FDB986 #FDF586 #C9FD86
triadic
#FDF586 #86FDF5 #F586FD
tetradic
#FDF586 #86FDB9 #868EFD #FD86C9
square
#FDF586 #86FDB9 #868EFD #FD86C9
split-complementary
#FDF586 #86C9FD #B986FD
monochromatic
#FBEB0E #FCF04A #FDF586 #FEFAC2 #FFFDE1
Accessibility & contrast
On white
1.13
#FDF586 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.58
#FDF586 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FDF586
18.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FDF586 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FDF586 | 1.00 | 1.13 | 18.58 | 18.58 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEE7C
Deuteranopia (green-blind)
#FFF48B
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #fdf586; /* rgb */ color: rgb(253, 245, 134); /* oklch */ color: oklch(95.4% 0.133 105.0);
Tailwind
colors: {
custom: {
50: '#fff8ab',
500: '#fdf586',
950: '#000000',
},
}SCSS
$custom: #fdf586; $custom-light: #fff8ab; $custom-dark: #000000;
JSON
{
"hex": "#fdf586",
"rgb": {
"r": 253,
"g": 245,
"b": 134
},
"hsl": {
"h": 55.966,
"s": 96.748,
"l": 75.882
},
"oklch": {
"l": 0.95382,
"c": 0.1333,
"h": 105
},
"luminance": 0.87909
}Semantic roles & 50–950 ramp
primary
#FDF586
secondary
#4B55DC
accent
#0FE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581