#FCF27C#FCF27C
#FCF27C is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.6% C 0.140 H 104.4°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF27C |
|---|---|
| RGB | rgb(252, 242, 124) |
| HSL | hsl(55, 96%, 74%) |
| HSV | hsv(55, 51%, 99%) |
| CMYK | cmyk(0%, 4%, 50.8%, 1.2%) |
| CIE-LAB | lab(94.17, -11.71, 57.50) |
| CIE-LCH | lch(94.17, 58.68, 101.51°) |
| OKLab | oklab(94.57% -0.0348 0.1356) |
| OKLCH | oklch(94.57% 0.14 104.4) |
| XYZ | xyz(75.5372, 85.6573, 31.6194) |
| Luminance | 0.8566 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.38
Sandy Yellow
#FDEE73
ΔE00 1.60
Manilla
#FFFA86
ΔE00 1.98
Yellowish
#FAEE66
ΔE00 2.36
Yellowish Tan
#FCFC81
ΔE00 2.95
Custard
#FFFD78
ΔE00 3.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF27C #7C86FC
analogous
#FCB27C #FCF27C #C6FC7C
triadic
#FCF27C #7CFCF2 #F27CFC
tetradic
#FCF27C #7CFCB2 #7C86FC #FC7CC6
square
#FCF27C #7CFCB2 #7C86FC #FC7CC6
split-complementary
#FCF27C #7CC6FC #B27CFC
monochromatic
#F8E506 #FBEC40 #FCF27C #FDF8B8 #FEFCE1
Accessibility & contrast
On white
1.16
#FCF27C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.13
#FCF27C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF27C
18.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF27C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF27C | 1.00 | 1.16 | 18.13 | 18.13 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB71
Deuteranopia (green-blind)
#FFF182
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #fcf27c; /* rgb */ color: rgb(252, 242, 124); /* oklch */ color: oklch(94.6% 0.140 104.4);
Tailwind
colors: {
custom: {
50: '#fff6a5',
500: '#fcf27c',
950: '#000000',
},
}SCSS
$custom: #fcf27c; $custom-light: #fff6a5; $custom-dark: #000000;
JSON
{
"hex": "#fcf27c",
"rgb": {
"r": 252,
"g": 242,
"b": 124
},
"hsl": {
"h": 55.313,
"s": 95.522,
"l": 73.725
},
"oklch": {
"l": 0.94565,
"c": 0.13996,
"h": 104.4
},
"luminance": 0.85655
}Semantic roles & 50–950 ramp
primary
#FCF27C
secondary
#434EDA
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580