#FCF27D#FCF27D
#FCF27D is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.6% C 0.139 H 104.3°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF27D |
|---|---|
| RGB | rgb(252, 242, 125) |
| HSL | hsl(55, 95%, 74%) |
| HSV | hsv(55, 50%, 99%) |
| CMYK | cmyk(0%, 4%, 50.4%, 1.2%) |
| CIE-LAB | lab(94.18, -11.63, 57.05) |
| CIE-LCH | lch(94.18, 58.22, 101.52°) |
| OKLab | oklab(94.58% -0.0344 0.1347) |
| OKLCH | oklch(94.58% 0.139 104.3) |
| XYZ | xyz(75.6008, 85.6827, 31.9541) |
| Luminance | 0.8568 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.45
Sandy Yellow
#FDEE73
ΔE00 1.67
Manilla
#FFFA86
ΔE00 1.96
Yellowish
#FAEE66
ΔE00 2.48
Yellowish Tan
#FCFC81
ΔE00 2.96
Custard
#FFFD78
ΔE00 3.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF27D #7D87FC
analogous
#FCB37D #FCF27D #C7FC7D
triadic
#FCF27D #7DFCF2 #F27DFC
tetradic
#FCF27D #7DFCB3 #7D87FC #FC7DC7
square
#FCF27D #7DFCB3 #7D87FC #FC7DC7
split-complementary
#FCF27D #7DC7FC #B37DFC
monochromatic
#F9E606 #FBEC41 #FCF27D #FDF8B9 #FEFCE1
Accessibility & contrast
On white
1.16
#FCF27D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.14
#FCF27D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF27D
18.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF27D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF27D | 1.00 | 1.16 | 18.14 | 18.14 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB72
Deuteranopia (green-blind)
#FFF183
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #fcf27d; /* rgb */ color: rgb(252, 242, 125); /* oklch */ color: oklch(94.6% 0.139 104.3);
Tailwind
colors: {
custom: {
50: '#fff6a5',
500: '#fcf27d',
950: '#000000',
},
}SCSS
$custom: #fcf27d; $custom-light: #fff6a5; $custom-dark: #000000;
JSON
{
"hex": "#fcf27d",
"rgb": {
"r": 252,
"g": 242,
"b": 125
},
"hsl": {
"h": 55.276,
"s": 95.489,
"l": 73.922
},
"oklch": {
"l": 0.94577,
"c": 0.13902,
"h": 104.3
},
"luminance": 0.8568
}Semantic roles & 50–950 ramp
primary
#FCF27D
secondary
#434FDA
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580