#FCF77C#FCF77C
#FCF77C is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.6% C 0.145 H 106.7°. Best body text is #000000 at 18.73:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF77C |
|---|---|
| RGB | rgb(252, 247, 124) |
| HSL | hsl(58, 96%, 74%) |
| HSV | hsv(58, 51%, 99%) |
| CMYK | cmyk(0%, 2%, 50.8%, 1.2%) |
| CIE-LAB | lab(95.44, -14.16, 59.00) |
| CIE-LCH | lch(95.44, 60.68, 103.50°) |
| OKLab | oklab(95.58% -0.0418 0.1389) |
| OKLCH | oklch(95.58% 0.145 106.7) |
| XYZ | xyz(77.0457, 88.6744, 32.1222) |
| Luminance | 0.8867 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.41
Manilla
#FFFA86
ΔE00 1.12
Yellowish Tan
#FCFC81
ΔE00 1.47
Custard
#FFFD78
ΔE00 1.63
Light Yellow
#FFFE7A
ΔE00 1.77
Butter
#FFFF81
ΔE00 1.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF77C #7C81FC
analogous
#FCB77C #FCF77C #C1FC7C
triadic
#FCF77C #7CFCF7 #F77CFC
tetradic
#FCF77C #7CFCB7 #7C81FC #FC7CC1
square
#FCF77C #7CFCB7 #7C81FC #FC7CC1
split-complementary
#FCF77C #7CC1FC #B77CFC
monochromatic
#F8EE06 #FBF340 #FCF77C #FDFBB8 #FEFDE1
Accessibility & contrast
On white
1.12
#FCF77C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.73
#FCF77C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF77C
18.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF77C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF77C | 1.00 | 1.12 | 18.73 | 18.73 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF70
Deuteranopia (green-blind)
#FFF482
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #fcf77c; /* rgb */ color: rgb(252, 247, 124); /* oklch */ color: oklch(95.6% 0.145 106.7);
Tailwind
colors: {
custom: {
50: '#fff9a5',
500: '#fcf77c',
950: '#000000',
},
}SCSS
$custom: #fcf77c; $custom-light: #fff9a5; $custom-dark: #000000;
JSON
{
"hex": "#fcf77c",
"rgb": {
"r": 252,
"g": 247,
"b": 124
},
"hsl": {
"h": 57.656,
"s": 95.522,
"l": 73.725
},
"oklch": {
"l": 0.95581,
"c": 0.14499,
"h": 106.7
},
"luminance": 0.88672
}Semantic roles & 50–950 ramp
primary
#FCF77C
secondary
#4349DA
accent
#09E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580