#FCF97D#FCF97D
#FCF97D is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 96.0% C 0.146 H 107.6°. Best body text is #000000 at 18.99:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF97D |
|---|---|
| RGB | rgb(252, 249, 125) |
| HSL | hsl(59, 95%, 74%) |
| HSV | hsv(59, 50%, 99%) |
| CMYK | cmyk(0%, 1.2%, 50.4%, 1.2%) |
| CIE-LAB | lab(95.97, -15.05, 59.16) |
| CIE-LCH | lch(95.97, 61.05, 104.27°) |
| OKLab | oklab(96% -0.0442 0.1393) |
| OKLCH | oklch(96% 0.146 107.6) |
| XYZ | xyz(77.7242, 89.9295, 32.6619) |
| Luminance | 0.8993 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 0.91
Straw
#FCF679
ΔE00 0.92
Manilla
#FFFA86
ΔE00 1.11
Custard
#FFFD78
ΔE00 1.24
Light Yellow
#FFFE7A
ΔE00 1.30
Butter
#FFFF81
ΔE00 1.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF97D #7D80FC
analogous
#FCBA7D #FCF97D #C0FC7D
triadic
#FCF97D #7DFCF9 #F97DFC
tetradic
#FCF97D #7DFCBA #7D80FC #FC7DC0
square
#FCF97D #7DFCBA #7D80FC #FC7DC0
split-complementary
#FCF97D #7DC0FC #BA7DFC
monochromatic
#F9F306 #FBF641 #FCF97D #FDFCB9 #FEFEE1
Accessibility & contrast
On white
1.11
#FCF97D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.99
#FCF97D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF97D
18.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF97D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF97D | 1.00 | 1.11 | 18.99 | 18.99 |
| #FFFFFF | 1.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF171
Deuteranopia (green-blind)
#FFF683
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F3F3F3
Design tokens & code
CSS
--color: #fcf97d; /* rgb */ color: rgb(252, 249, 125); /* oklch */ color: oklch(96.0% 0.146 107.6);
Tailwind
colors: {
custom: {
50: '#fffba6',
500: '#fcf97d',
950: '#000000',
},
}SCSS
$custom: #fcf97d; $custom-light: #fffba6; $custom-dark: #000000;
JSON
{
"hex": "#fcf97d",
"rgb": {
"r": 252,
"g": 249,
"b": 125
},
"hsl": {
"h": 58.583,
"s": 95.489,
"l": 73.922
},
"oklch": {
"l": 0.96001,
"c": 0.14613,
"h": 107.6
},
"luminance": 0.89927
}Semantic roles & 50–950 ramp
primary
#FCF97D
secondary
#4347DA
accent
#05E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580