#FCF172#FCF172
#FCF172 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.2% C 0.148 H 104.3°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF172 |
|---|---|
| RGB | rgb(252, 241, 114) |
| HSL | hsl(55, 96%, 72%) |
| HSV | hsv(55, 55%, 99%) |
| CMYK | cmyk(0%, 4.4%, 54.8%, 1.2%) |
| CIE-LAB | lab(93.81, -12.01, 61.60) |
| CIE-LCH | lch(93.81, 62.76, 101.03°) |
| OKLab | oklab(94.25% -0.0366 0.1435) |
| OKLCH | oklch(94.25% 0.148 104.3) |
| XYZ | xyz(74.6398, 84.8234, 28.3572) |
| Luminance | 0.8482 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 1.17
Yellowish
#FAEE66
ΔE00 1.24
Straw
#FCF679
ΔE00 1.55
Manilla
#FFFA86
ΔE00 2.75
Custard
#FFFD78
ΔE00 3.04
Butter Yellow
#FFFD74
ΔE00 3.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF172 #727DFC
analogous
#FCAC72 #FCF172 #C2FC72
triadic
#FCF172 #72FCF1 #F172FC
tetradic
#FCF172 #72FCAC #727DFC #FC72C2
square
#FCF172 #72FCAC #727DFC #FC72C2
split-complementary
#FCF172 #72C2FC #AC72FC
monochromatic
#EFDC05 #FBEB36 #FCF172 #FDF7AE #FEFCE1
Accessibility & contrast
On white
1.17
#FCF172 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.96
#FCF172 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF172
17.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF172 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF172 | 1.00 | 1.17 | 17.96 | 17.96 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA65
Deuteranopia (green-blind)
#FFF078
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #fcf172; /* rgb */ color: rgb(252, 241, 114); /* oklch */ color: oklch(94.2% 0.148 104.3);
Tailwind
colors: {
custom: {
50: '#fff59e',
500: '#fcf172',
950: '#000000',
},
}SCSS
$custom: #fcf172; $custom-light: #fff59e; $custom-dark: #000000;
JSON
{
"hex": "#fcf172",
"rgb": {
"r": 252,
"g": 241,
"b": 114
},
"hsl": {
"h": 55.217,
"s": 95.833,
"l": 71.765
},
"oklch": {
"l": 0.94246,
"c": 0.14807,
"h": 104.3
},
"luminance": 0.84821
}Semantic roles & 50–950 ramp
primary
#FCF172
secondary
#3A47D8
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580