#FDF596#FDF596
#FDF596 is a very light, moderate yellow. Relative luminance 0.884; OKLCH L 95.6% C 0.117 H 104.2°. Best body text is #000000 at 18.68:1 contrast (WCAG AA passes).
Color values
| HEX | #FDF596 |
|---|---|
| RGB | rgb(253, 245, 150) |
| HSL | hsl(55, 96%, 79%) |
| HSV | hsv(55, 41%, 99%) |
| CMYK | cmyk(0%, 3.2%, 40.7%, 0.8%) |
| CIE-LAB | lab(95.33, -10.40, 46.62) |
| CIE-LCH | lch(95.33, 47.77, 102.58°) |
| OKLab | oklab(95.61% -0.0286 0.1133) |
| OKLCH | oklch(95.61% 0.117 104.2) |
| XYZ | xyz(78.6669, 88.3915, 41.7655) |
| Luminance | 0.8839 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Buff
#FEF69E
ΔE00 1.14
Dark Cream
#FFF39A
ΔE00 1.41
Manilla
#FFFA86
ΔE00 3.03
Khaki (CSS)
#F0E68C
ΔE00 3.18
Parchment
#FEFCAF
ΔE00 3.76
Straw
#FCF679
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FDF596 #969EFD
analogous
#FDC296 #FDF596 #D2FD96
triadic
#FDF596 #96FDF5 #F596FD
tetradic
#FDF596 #96FDC2 #969EFD #FD96D2
square
#FDF596 #96FDC2 #969EFD #FD96D2
split-complementary
#FDF596 #96D2FD #C296FD
monochromatic
#FBEA1E #FCEF5A #FDF596 #FEFBD2 #FEFCE1
Accessibility & contrast
On white
1.12
#FDF596 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.68
#FDF596 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FDF596
18.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FDF596 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FDF596 | 1.00 | 1.12 | 18.68 | 18.68 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF8F
Deuteranopia (green-blind)
#FFF49A
Tritanopia (blue-blind)
#FFE9DE
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #fdf596; /* rgb */ color: rgb(253, 245, 150); /* oklch */ color: oklch(95.6% 0.117 104.2);
Tailwind
colors: {
custom: {
50: '#fff8b6',
500: '#fdf596',
950: '#000000',
},
}SCSS
$custom: #fdf596; $custom-light: #fff8b6; $custom-dark: #000000;
JSON
{
"hex": "#fdf596",
"rgb": {
"r": 253,
"g": 245,
"b": 150
},
"hsl": {
"h": 55.34,
"s": 96.262,
"l": 79.02
},
"oklch": {
"l": 0.95608,
"c": 0.11683,
"h": 104.2
},
"luminance": 0.88389
}Semantic roles & 50–950 ramp
primary
#FDF596
secondary
#5963DF
accent
#12E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581