#FCF87C#FCF87C
#FCF87C is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.8% C 0.146 H 107.2°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF87C |
|---|---|
| RGB | rgb(252, 248, 124) |
| HSL | hsl(58, 96%, 74%) |
| HSV | hsv(58, 51%, 99%) |
| CMYK | cmyk(0%, 1.6%, 50.8%, 1.2%) |
| CIE-LAB | lab(95.70, -14.65, 59.30) |
| CIE-LCH | lch(95.70, 61.09, 103.87°) |
| OKLab | oklab(95.79% -0.0431 0.1395) |
| OKLCH | oklch(95.79% 0.146 107.2) |
| XYZ | xyz(77.3524, 89.2876, 32.2244) |
| Luminance | 0.8929 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.62
Manilla
#FFFA86
ΔE00 1.13
Yellowish Tan
#FCFC81
ΔE00 1.20
Custard
#FFFD78
ΔE00 1.38
Light Yellow
#FFFE7A
ΔE00 1.49
Butter
#FFFF81
ΔE00 1.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF87C #7C80FC
analogous
#FCB87C #FCF87C #C0FC7C
triadic
#FCF87C #7CFCF8 #F87CFC
tetradic
#FCF87C #7CFCB8 #7C80FC #FC7CC0
square
#FCF87C #7CFCB8 #7C80FC #FC7CC0
split-complementary
#FCF87C #7CC0FC #B87CFC
monochromatic
#F8F006 #FBF540 #FCF87C #FDFBB8 #FEFDE1
Accessibility & contrast
On white
1.11
#FCF87C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.86
#FCF87C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF87C
18.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF87C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF87C | 1.00 | 1.11 | 18.86 | 18.86 |
| #FFFFFF | 1.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF070
Deuteranopia (green-blind)
#FFF582
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F3F3F3
Design tokens & code
CSS
--color: #fcf87c; /* rgb */ color: rgb(252, 248, 124); /* oklch */ color: oklch(95.8% 0.146 107.2);
Tailwind
colors: {
custom: {
50: '#fffaa5',
500: '#fcf87c',
950: '#000000',
},
}SCSS
$custom: #fcf87c; $custom-light: #fffaa5; $custom-dark: #000000;
JSON
{
"hex": "#fcf87c",
"rgb": {
"r": 252,
"g": 248,
"b": 124
},
"hsl": {
"h": 58.125,
"s": 95.522,
"l": 73.725
},
"oklch": {
"l": 0.95785,
"c": 0.14602,
"h": 107.2
},
"luminance": 0.89285
}Semantic roles & 50–950 ramp
primary
#FCF87C
secondary
#4347DA
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580