#FDF46C#FDF46C
#FDF46C is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.9% C 0.156 H 105.5°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).
Color values
| HEX | #FDF46C |
|---|---|
| RGB | rgb(253, 244, 108) |
| HSL | hsl(56, 97%, 71%) |
| HSV | hsv(56, 57%, 99%) |
| CMYK | cmyk(0%, 3.6%, 57.3%, 0.8%) |
| CIE-LAB | lab(94.60, -13.51, 65.14) |
| CIE-LCH | lch(94.60, 66.53, 101.72°) |
| OKLab | oklab(94.88% -0.0416 0.1504) |
| OKLCH | oklch(94.88% 0.156 105.5) |
| XYZ | xyz(75.5679, 86.6692, 26.9327) |
| Luminance | 0.8667 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.37
Straw
#FCF679
ΔE00 1.57
Sandy Yellow
#FDEE73
ΔE00 2.21
Butter Yellow
#FFFD74
ΔE00 2.29
Custard
#FFFD78
ΔE00 2.39
Pastel Yellow
#FFFE71
ΔE00 2.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FDF46C #6C75FD
analogous
#FDAB6C #FDF46C #BDFD6C
triadic
#FDF46C #6CFDF4 #F46CFD
tetradic
#FDF46C #6CFDAB #6C75FD #FD6CBD
square
#FDF46C #6CFDAB #6C75FD #FD6CBD
split-complementary
#FDF46C #6CBDFD #AB6CFD
monochromatic
#EBDD03 #FCEF30 #FDF46C #FEF9A8 #FFFDE1
Accessibility & contrast
On white
1.15
#FDF46C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.33
#FDF46C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FDF46C
18.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FDF46C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FDF46C | 1.00 | 1.15 | 18.33 | 18.33 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC5D
Deuteranopia (green-blind)
#FFF273
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #fdf46c; /* rgb */ color: rgb(253, 244, 108); /* oklch */ color: oklch(94.9% 0.156 105.5);
Tailwind
colors: {
custom: {
50: '#fff79b',
500: '#fdf46c',
950: '#000000',
},
}SCSS
$custom: #fdf46c; $custom-light: #fff79b; $custom-dark: #000000;
JSON
{
"hex": "#fdf46c",
"rgb": {
"r": 253,
"g": 244,
"b": 108
},
"hsl": {
"h": 56.276,
"s": 97.315,
"l": 70.784
},
"oklch": {
"l": 0.94876,
"c": 0.15601,
"h": 105.5
},
"luminance": 0.86667
}Semantic roles & 50–950 ramp
primary
#FDF46C
secondary
#353FD9
accent
#0EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F