#FCF277#FCF277
#FCF277 is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.5% C 0.145 H 104.6°. Best body text is #000000 at 18.11:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF277 |
|---|---|
| RGB | rgb(252, 242, 119) |
| HSL | hsl(55, 96%, 73%) |
| HSV | hsv(55, 53%, 99%) |
| CMYK | cmyk(0%, 4%, 52.8%, 1.2%) |
| CIE-LAB | lab(94.11, -12.12, 59.71) |
| CIE-LCH | lch(94.11, 60.93, 101.47°) |
| OKLab | oklab(94.51% -0.0364 0.1399) |
| OKLCH | oklch(94.51% 0.145 104.6) |
| XYZ | xyz(75.2290, 85.5340, 29.9961) |
| Luminance | 0.8553 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.19
Sandy Yellow
#FDEE73
ΔE00 1.42
Yellowish
#FAEE66
ΔE00 1.82
Manilla
#FFFA86
ΔE00 2.22
Custard
#FFFD78
ΔE00 2.84
Butter Yellow
#FFFD74
ΔE00 2.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF277 #7781FC
analogous
#FCB077 #FCF277 #C3FC77
triadic
#FCF277 #77FCF2 #F277FC
tetradic
#FCF277 #77FCB0 #7781FC #FC77C3
square
#FCF277 #77FCB0 #7781FC #FC77C3
split-complementary
#FCF277 #77C3FC #B077FC
monochromatic
#F3E105 #FBEC3B #FCF277 #FDF8B3 #FEFCE1
Accessibility & contrast
On white
1.16
#FCF277 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.11
#FCF277 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF277
18.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF277 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF277 | 1.00 | 1.16 | 18.11 | 18.11 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB6B
Deuteranopia (green-blind)
#FFF17D
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #fcf277; /* rgb */ color: rgb(252, 242, 119); /* oklch */ color: oklch(94.5% 0.145 104.6);
Tailwind
colors: {
custom: {
50: '#fff6a1',
500: '#fcf277',
950: '#000000',
},
}SCSS
$custom: #fcf277; $custom-light: #fff6a1; $custom-dark: #000000;
JSON
{
"hex": "#fcf277",
"rgb": {
"r": 252,
"g": 242,
"b": 119
},
"hsl": {
"h": 55.489,
"s": 95.683,
"l": 72.745
},
"oklch": {
"l": 0.94506,
"c": 0.14457,
"h": 104.6
},
"luminance": 0.85532
}Semantic roles & 50–950 ramp
primary
#FCF277
secondary
#3E4AD9
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580