#FDF396#FDF396
#FDF396 is a very light, moderate yellow. Relative luminance 0.872; OKLCH L 95.2% C 0.115 H 103.0°. Best body text is #000000 at 18.44:1 contrast (WCAG AA passes).
Color values
| HEX | #FDF396 |
|---|---|
| RGB | rgb(253, 243, 150) |
| HSL | hsl(54, 96%, 79%) |
| HSV | hsv(54, 41%, 99%) |
| CMYK | cmyk(0%, 4%, 40.7%, 0.8%) |
| CIE-LAB | lab(94.82, -9.42, 45.98) |
| CIE-LCH | lch(94.82, 46.94, 101.57°) |
| OKLab | oklab(95.21% -0.0258 0.1118) |
| OKLCH | oklch(95.21% 0.115 103) |
| XYZ | xyz(78.0651, 87.1880, 41.5650) |
| Luminance | 0.8719 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Cream
#FFF39A
ΔE00 0.83
Buff
#FEF69E
ΔE00 1.15
Khaki (CSS)
#F0E68C
ΔE00 2.77
Manilla
#FFFA86
ΔE00 3.51
Parchment
#FEFCAF
ΔE00 3.93
Straw
#FCF679
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FDF396 #96A0FD
analogous
#FDC096 #FDF396 #D4FD96
triadic
#FDF396 #96FDF3 #F396FD
tetradic
#FDF396 #96FDC0 #96A0FD #FD96D4
square
#FDF396 #96FDC0 #96A0FD #FD96D4
split-complementary
#FDF396 #96D4FD #C096FD
monochromatic
#FBE51E #FCEC5A #FDF396 #FEFAD2 #FEFCE1
Accessibility & contrast
On white
1.14
#FDF396 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.44
#FDF396 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FDF396
18.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FDF396 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FDF396 | 1.00 | 1.14 | 18.44 | 18.44 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED8F
Deuteranopia (green-blind)
#FFF39A
Tritanopia (blue-blind)
#FFE7DC
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #fdf396; /* rgb */ color: rgb(253, 243, 150); /* oklch */ color: oklch(95.2% 0.115 103.0);
Tailwind
colors: {
custom: {
50: '#fff6b6',
500: '#fdf396',
950: '#000000',
},
}SCSS
$custom: #fdf396; $custom-light: #fff6b6; $custom-dark: #000000;
JSON
{
"hex": "#fdf396",
"rgb": {
"r": 253,
"g": 243,
"b": 150
},
"hsl": {
"h": 54.175,
"s": 96.262,
"l": 79.02
},
"oklch": {
"l": 0.95205,
"c": 0.11475,
"h": 103
},
"luminance": 0.87186
}Semantic roles & 50–950 ramp
primary
#FDF396
secondary
#5966DF
accent
#16E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581