#FCF77F#FCF77F
#FCF77F is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.6% C 0.142 H 106.7°. Best body text is #000000 at 18.75:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF77F |
|---|---|
| RGB | rgb(252, 247, 127) |
| HSL | hsl(58, 95%, 74%) |
| HSV | hsv(58, 50%, 99%) |
| CMYK | cmyk(0%, 2%, 49.6%, 1.2%) |
| CIE-LAB | lab(95.48, -13.91, 57.67) |
| CIE-LCH | lch(95.48, 59.33, 103.56°) |
| OKLab | oklab(95.62% -0.0407 0.1362) |
| OKLCH | oklch(95.62% 0.142 106.7) |
| XYZ | xyz(77.2384, 88.7514, 33.1366) |
| Luminance | 0.8875 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.72
Manilla
#FFFA86
ΔE00 0.83
Yellowish Tan
#FCFC81
ΔE00 1.45
Pale Yellow
#FFFF84
ΔE00 1.86
Custard
#FFFD78
ΔE00 1.87
Butter
#FFFF81
ΔE00 1.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF77F #7F84FC
analogous
#FCB97F #FCF77F #C3FC7F
triadic
#FCF77F #7FFCF7 #F77FFC
tetradic
#FCF77F #7FFCB9 #7F84FC #FC7FC3
square
#FCF77F #7FFCB9 #7F84FC #FC7FC3
split-complementary
#FCF77F #7FC3FC #B97FFC
monochromatic
#F9F007 #FBF343 #FCF77F #FDFBBB #FEFDE1
Accessibility & contrast
On white
1.12
#FCF77F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.75
#FCF77F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF77F
18.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF77F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF77F | 1.00 | 1.12 | 18.75 | 18.75 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF74
Deuteranopia (green-blind)
#FFF485
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #fcf77f; /* rgb */ color: rgb(252, 247, 127); /* oklch */ color: oklch(95.6% 0.142 106.7);
Tailwind
colors: {
custom: {
50: '#fff9a7',
500: '#fcf77f',
950: '#000000',
},
}SCSS
$custom: #fcf77f; $custom-light: #fff9a7; $custom-dark: #000000;
JSON
{
"hex": "#fcf77f",
"rgb": {
"r": 252,
"g": 247,
"b": 127
},
"hsl": {
"h": 57.6,
"s": 95.42,
"l": 74.314
},
"oklch": {
"l": 0.95617,
"c": 0.14218,
"h": 106.7
},
"luminance": 0.88749
}Semantic roles & 50–950 ramp
primary
#FCF77F
secondary
#454BDA
accent
#09E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580