#FCF780#FCF780
#FCF780 is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.6% C 0.141 H 106.6°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF780 |
|---|---|
| RGB | rgb(252, 247, 128) |
| HSL | hsl(58, 95%, 75%) |
| HSV | hsv(58, 49%, 99%) |
| CMYK | cmyk(0%, 2%, 49.2%, 1.2%) |
| CIE-LAB | lab(95.49, -13.83, 57.23) |
| CIE-LCH | lch(95.49, 58.87, 103.58°) |
| OKLab | oklab(95.63% -0.0404 0.1353) |
| OKLCH | oklch(95.63% 0.141 106.6) |
| XYZ | xyz(77.3038, 88.7776, 33.4815) |
| Luminance | 0.8878 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 0.75
Straw
#FCF679
ΔE00 0.83
Yellowish Tan
#FCFC81
ΔE00 1.47
Pale Yellow
#FFFF84
ΔE00 1.87
Butter
#FFFF81
ΔE00 1.94
Custard
#FFFD78
ΔE00 1.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF780 #8085FC
analogous
#FCB980 #FCF780 #C3FC80
triadic
#FCF780 #80FCF7 #F780FC
tetradic
#FCF780 #80FCB9 #8085FC #FC80C3
square
#FCF780 #80FCB9 #8085FC #FC80C3
split-complementary
#FCF780 #80C3FC #B980FC
monochromatic
#F9EF08 #FBF344 #FCF780 #FDFBBC #FEFDE1
Accessibility & contrast
On white
1.12
#FCF780 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.76
#FCF780 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF780
18.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF780 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF780 | 1.00 | 1.12 | 18.76 | 18.76 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF75
Deuteranopia (green-blind)
#FFF486
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #fcf780; /* rgb */ color: rgb(252, 247, 128); /* oklch */ color: oklch(95.6% 0.141 106.6);
Tailwind
colors: {
custom: {
50: '#fff9a7',
500: '#fcf780',
950: '#000000',
},
}SCSS
$custom: #fcf780; $custom-light: #fff9a7; $custom-dark: #000000;
JSON
{
"hex": "#fcf780",
"rgb": {
"r": 252,
"g": 247,
"b": 128
},
"hsl": {
"h": 57.581,
"s": 95.385,
"l": 74.51
},
"oklch": {
"l": 0.9563,
"c": 0.14124,
"h": 106.6
},
"luminance": 0.88775
}Semantic roles & 50–950 ramp
primary
#FCF780
secondary
#464CDA
accent
#09E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581