#FCF270#FCF270
#FCF270 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.4% C 0.151 H 104.9°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF270 |
|---|---|
| RGB | rgb(252, 242, 112) |
| HSL | hsl(56, 96%, 71%) |
| HSV | hsv(56, 56%, 99%) |
| CMYK | cmyk(0%, 4%, 55.6%, 1.2%) |
| CIE-LAB | lab(94.04, -12.65, 62.75) |
| CIE-LCH | lch(94.04, 64.02, 101.39°) |
| OKLab | oklab(94.43% -0.0387 0.1457) |
| OKLCH | oklch(94.43% 0.151 104.9) |
| XYZ | xyz(74.8240, 85.3720, 27.8631) |
| Luminance | 0.8537 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.19
Straw
#FCF679
ΔE00 1.40
Sandy Yellow
#FDEE73
ΔE00 1.56
Manilla
#FFFA86
ΔE00 2.73
Custard
#FFFD78
ΔE00 2.73
Butter Yellow
#FFFD74
ΔE00 2.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF270 #707AFC
analogous
#FCAC70 #FCF270 #C0FC70
triadic
#FCF270 #70FCF2 #F270FC
tetradic
#FCF270 #70FCAC #707AFC #FC70C0
square
#FCF270 #70FCAC #707AFC #FC70C0
split-complementary
#FCF270 #70C0FC #AC70FC
monochromatic
#EDDC05 #FBED34 #FCF270 #FDF7AC #FEFCE1
Accessibility & contrast
On white
1.16
#FCF270 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.07
#FCF270 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF270
18.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF270 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF270 | 1.00 | 1.16 | 18.07 | 18.07 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA63
Deuteranopia (green-blind)
#FFF177
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #fcf270; /* rgb */ color: rgb(252, 242, 112); /* oklch */ color: oklch(94.4% 0.151 104.9);
Tailwind
colors: {
custom: {
50: '#fff69d',
500: '#fcf270',
950: '#000000',
},
}SCSS
$custom: #fcf270; $custom-light: #fff69d; $custom-dark: #000000;
JSON
{
"hex": "#fcf270",
"rgb": {
"r": 252,
"g": 242,
"b": 112
},
"hsl": {
"h": 55.714,
"s": 95.89,
"l": 71.373
},
"oklch": {
"l": 0.94428,
"c": 0.15077,
"h": 104.9
},
"luminance": 0.8537
}Semantic roles & 50–950 ramp
primary
#FCF270
secondary
#3844D8
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580