#FCF17C#FCF17C
#FCF17C is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.4% C 0.139 H 103.9°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF17C |
|---|---|
| RGB | rgb(252, 241, 124) |
| HSL | hsl(55, 96%, 74%) |
| HSV | hsv(55, 51%, 99%) |
| CMYK | cmyk(0%, 4.4%, 50.8%, 1.2%) |
| CIE-LAB | lab(93.91, -11.22, 57.20) |
| CIE-LCH | lch(93.91, 58.29, 101.10°) |
| OKLab | oklab(94.36% -0.0333 0.1349) |
| OKLCH | oklch(94.36% 0.139 103.9) |
| XYZ | xyz(75.2404, 85.0637, 31.5204) |
| Luminance | 0.8506 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 1.40
Straw
#FCF679
ΔE00 1.69
Manilla
#FFFA86
ΔE00 2.25
Yellowish
#FAEE66
ΔE00 2.35
Yellowish Tan
#FCFC81
ΔE00 3.26
Custard
#FFFD78
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF17C #7C87FC
analogous
#FCB17C #FCF17C #C7FC7C
triadic
#FCF17C #7CFCF1 #F17CFC
tetradic
#FCF17C #7CFCB1 #7C87FC #FC7CC7
square
#FCF17C #7CFCB1 #7C87FC #FC7CC7
split-complementary
#FCF17C #7CC7FC #B17CFC
monochromatic
#F8E306 #FBEB40 #FCF17C #FDF7B8 #FEFCE1
Accessibility & contrast
On white
1.17
#FCF17C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.01
#FCF17C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF17C
18.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF17C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF17C | 1.00 | 1.17 | 18.01 | 18.01 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA71
Deuteranopia (green-blind)
#FFF082
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #fcf17c; /* rgb */ color: rgb(252, 241, 124); /* oklch */ color: oklch(94.4% 0.139 103.9);
Tailwind
colors: {
custom: {
50: '#fff5a5',
500: '#fcf17c',
950: '#000000',
},
}SCSS
$custom: #fcf17c; $custom-light: #fff5a5; $custom-dark: #000000;
JSON
{
"hex": "#fcf17c",
"rgb": {
"r": 252,
"g": 241,
"b": 124
},
"hsl": {
"h": 54.844,
"s": 95.522,
"l": 73.725
},
"oklch": {
"l": 0.94362,
"c": 0.13898,
"h": 103.9
},
"luminance": 0.85061
}Semantic roles & 50–950 ramp
primary
#FCF17C
secondary
#4350DA
accent
#14E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580