#FCF174#FCF174
#FCF174 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.3% C 0.146 H 104.2°. Best body text is #000000 at 17.97:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF174 |
|---|---|
| RGB | rgb(252, 241, 116) |
| HSL | hsl(55, 96%, 72%) |
| HSV | hsv(55, 54%, 99%) |
| CMYK | cmyk(0%, 4.4%, 54%, 1.2%) |
| CIE-LAB | lab(93.83, -11.86, 60.73) |
| CIE-LCH | lch(93.83, 61.88, 101.05°) |
| OKLab | oklab(94.27% -0.036 0.1418) |
| OKLCH | oklch(94.27% 0.146 104.2) |
| XYZ | xyz(74.7549, 84.8695, 28.9633) |
| Luminance | 0.8487 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 1.12
Yellowish
#FAEE66
ΔE00 1.44
Straw
#FCF679
ΔE00 1.51
Manilla
#FFFA86
ΔE00 2.61
Custard
#FFFD78
ΔE00 3.07
Butter Yellow
#FFFD74
ΔE00 3.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF174 #747FFC
analogous
#FCAD74 #FCF174 #C3FC74
triadic
#FCF174 #74FCF1 #F174FC
tetradic
#FCF174 #74FCAD #747FFC #FC74C3
square
#FCF174 #74FCAD #747FFC #FC74C3
split-complementary
#FCF174 #74C3FC #AD74FC
monochromatic
#F0DD05 #FBEB38 #FCF174 #FDF7B0 #FEFCE1
Accessibility & contrast
On white
1.17
#FCF174 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.97
#FCF174 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF174
17.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF174 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF174 | 1.00 | 1.17 | 17.97 | 17.97 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA68
Deuteranopia (green-blind)
#FFF07A
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #fcf174; /* rgb */ color: rgb(252, 241, 116); /* oklch */ color: oklch(94.3% 0.146 104.2);
Tailwind
colors: {
custom: {
50: '#fff59f',
500: '#fcf174',
950: '#000000',
},
}SCSS
$custom: #fcf174; $custom-light: #fff59f; $custom-dark: #000000;
JSON
{
"hex": "#fcf174",
"rgb": {
"r": 252,
"g": 241,
"b": 116
},
"hsl": {
"h": 55.147,
"s": 95.775,
"l": 72.157
},
"oklch": {
"l": 0.94269,
"c": 0.14631,
"h": 104.2
},
"luminance": 0.84867
}Semantic roles & 50–950 ramp
primary
#FCF174
secondary
#3C48D8
accent
#13E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580