#FCF46C#FCF46C
#FCF46C is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.8% C 0.156 H 105.9°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF46C |
|---|---|
| RGB | rgb(252, 244, 108) |
| HSL | hsl(57, 96%, 71%) |
| HSV | hsv(57, 57%, 99%) |
| CMYK | cmyk(0%, 3.2%, 57.1%, 1.2%) |
| CIE-LAB | lab(94.52, -13.91, 65.03) |
| CIE-LCH | lch(94.52, 66.50, 102.08°) |
| OKLab | oklab(94.79% -0.0427 0.1501) |
| OKLCH | oklch(94.79% 0.156 105.9) |
| XYZ | xyz(75.2047, 86.4819, 26.9156) |
| Luminance | 0.8648 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.46
Yellowish
#FAEE66
ΔE00 1.49
Butter Yellow
#FFFD74
ΔE00 2.16
Custard
#FFFD78
ΔE00 2.25
Sandy Yellow
#FDEE73
ΔE00 2.35
Pastel Yellow
#FFFE71
ΔE00 2.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF46C #6C74FC
analogous
#FCAC6C #FCF46C #BCFC6C
triadic
#FCF46C #6CFCF4 #F46CFC
tetradic
#FCF46C #6CFCAC #6C74FC #FC6CBC
square
#FCF46C #6CFCAC #6C74FC #FC6CBC
split-complementary
#FCF46C #6CBCFC #AC6CFC
monochromatic
#E9DC05 #FBF030 #FCF46C #FDF8A8 #FEFDE1
Accessibility & contrast
On white
1.15
#FCF46C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.30
#FCF46C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF46C
18.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF46C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF46C | 1.00 | 1.15 | 18.30 | 18.30 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC5D
Deuteranopia (green-blind)
#FFF273
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #fcf46c; /* rgb */ color: rgb(252, 244, 108); /* oklch */ color: oklch(94.8% 0.156 105.9);
Tailwind
colors: {
custom: {
50: '#fff79b',
500: '#fcf46c',
950: '#000000',
},
}SCSS
$custom: #fcf46c; $custom-light: #fff79b; $custom-dark: #000000;
JSON
{
"hex": "#fcf46c",
"rgb": {
"r": 252,
"g": 244,
"b": 108
},
"hsl": {
"h": 56.667,
"s": 96,
"l": 70.588
},
"oklch": {
"l": 0.94794,
"c": 0.15609,
"h": 105.9
},
"luminance": 0.8648
}Semantic roles & 50–950 ramp
primary
#FCF46C
secondary
#353ED7
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F