#FCF27A#FCF27A
#FCF27A is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.142 H 104.5°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF27A |
|---|---|
| RGB | rgb(252, 242, 122) |
| HSL | hsl(55, 96%, 73%) |
| HSV | hsv(55, 52%, 99%) |
| CMYK | cmyk(0%, 4%, 51.6%, 1.2%) |
| CIE-LAB | lab(94.14, -11.88, 58.39) |
| CIE-LCH | lch(94.14, 59.58, 101.50°) |
| OKLab | oklab(94.54% -0.0354 0.1373) |
| OKLCH | oklch(94.54% 0.142 104.5) |
| XYZ | xyz(75.4120, 85.6072, 30.9600) |
| Luminance | 0.8560 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.27
Sandy Yellow
#FDEE73
ΔE00 1.50
Manilla
#FFFA86
ΔE00 2.06
Yellowish
#FAEE66
ΔE00 2.14
Yellowish Tan
#FCFC81
ΔE00 2.94
Custard
#FFFD78
ΔE00 2.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF27A #7A84FC
analogous
#FCB17A #FCF27A #C5FC7A
triadic
#FCF27A #7AFCF2 #F27AFC
tetradic
#FCF27A #7AFCB1 #7A84FC #FC7AC5
square
#FCF27A #7AFCB1 #7A84FC #FC7AC5
split-complementary
#FCF27A #7AC5FC #B17AFC
monochromatic
#F6E406 #FBEC3E #FCF27A #FDF8B6 #FEFCE1
Accessibility & contrast
On white
1.16
#FCF27A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.12
#FCF27A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF27A
18.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF27A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF27A | 1.00 | 1.16 | 18.12 | 18.12 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB6F
Deuteranopia (green-blind)
#FFF180
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #fcf27a; /* rgb */ color: rgb(252, 242, 122); /* oklch */ color: oklch(94.5% 0.142 104.5);
Tailwind
colors: {
custom: {
50: '#fff6a3',
500: '#fcf27a',
950: '#000000',
},
}SCSS
$custom: #fcf27a; $custom-light: #fff6a3; $custom-dark: #000000;
JSON
{
"hex": "#fcf27a",
"rgb": {
"r": 252,
"g": 242,
"b": 122
},
"hsl": {
"h": 55.385,
"s": 95.588,
"l": 73.333
},
"oklch": {
"l": 0.94541,
"c": 0.14183,
"h": 104.5
},
"luminance": 0.85605
}Semantic roles & 50–950 ramp
primary
#FCF27A
secondary
#414DD9
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580