#FDF299#FDF299
#FDF299 is a very light, moderate yellow. Relative luminance 0.867; OKLCH L 95.1% C 0.110 H 102.1°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).
Color values
| HEX | #FDF299 |
|---|---|
| RGB | rgb(253, 242, 153) |
| HSL | hsl(53, 96%, 80%) |
| HSV | hsv(53, 40%, 99%) |
| CMYK | cmyk(0%, 4.3%, 39.5%, 0.8%) |
| CIE-LAB | lab(94.61, -8.61, 44.25) |
| CIE-LCH | lch(94.61, 45.08, 101.01°) |
| OKLab | oklab(95.05% -0.0232 0.108) |
| OKLCH | oklch(95.05% 0.11 102.1) |
| XYZ | xyz(78.0113, 86.6889, 42.7540) |
| Luminance | 0.8669 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Cream
#FFF39A
ΔE00 0.36
Buff
#FEF69E
ΔE00 1.11
Khaki (CSS)
#F0E68C
ΔE00 2.64
Parchment
#FEFCAF
ΔE00 3.75
Light Tan
#FBEEAC
ΔE00 4.15
Manilla
#FFFA86
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FDF299 #99A4FD
analogous
#FDC099 #FDF299 #D6FD99
triadic
#FDF299 #99FDF2 #F299FD
tetradic
#FDF299 #99FDC0 #99A4FD #FD99D6
square
#FDF299 #99FDC0 #99A4FD #FD99D6
split-complementary
#FDF299 #99D6FD #C099FD
monochromatic
#FBE321 #FCEA5D #FDF299 #FEFAD5 #FEFBE1
Accessibility & contrast
On white
1.15
#FDF299 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.34
#FDF299 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FDF299
18.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FDF299 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FDF299 | 1.00 | 1.15 | 18.34 | 18.34 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC92
Deuteranopia (green-blind)
#FFF29D
Tritanopia (blue-blind)
#FFE7DC
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #fdf299; /* rgb */ color: rgb(253, 242, 153); /* oklch */ color: oklch(95.1% 0.110 102.1);
Tailwind
colors: {
custom: {
50: '#fff6b8',
500: '#fdf299',
950: '#000000',
},
}SCSS
$custom: #fdf299; $custom-light: #fff6b8; $custom-dark: #000000;
JSON
{
"hex": "#fdf299",
"rgb": {
"r": 253,
"g": 242,
"b": 153
},
"hsl": {
"h": 53.4,
"s": 96.154,
"l": 79.608
},
"oklch": {
"l": 0.95051,
"c": 0.11048,
"h": 102.1
},
"luminance": 0.86687
}Semantic roles & 50–950 ramp
primary
#FDF299
secondary
#5B6ADF
accent
#19E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581