#FCF97E#FCF97E
#FCF97E is a very light, vivid yellow. Relative luminance 0.900; OKLCH L 96.0% C 0.145 H 107.6°. Best body text is #000000 at 18.99:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF97E |
|---|---|
| RGB | rgb(252, 249, 126) |
| HSL | hsl(59, 95%, 74%) |
| HSV | hsv(59, 50%, 99%) |
| CMYK | cmyk(0%, 1.2%, 50%, 1.2%) |
| CIE-LAB | lab(95.98, -14.97, 58.72) |
| CIE-LCH | lch(95.98, 60.60, 104.30°) |
| OKLab | oklab(96.01% -0.0439 0.1384) |
| OKLCH | oklch(96.01% 0.145 107.6) |
| XYZ | xyz(77.7884, 89.9552, 33.0000) |
| Luminance | 0.8995 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 0.88
Straw
#FCF679
ΔE00 0.96
Manilla
#FFFA86
ΔE00 1.00
Butter
#FFFF81
ΔE00 1.31
Pale Yellow
#FFFF84
ΔE00 1.32
Custard
#FFFD78
ΔE00 1.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF97E #7E81FC
analogous
#FCBA7E #FCF97E #C0FC7E
triadic
#FCF97E #7EFCF9 #F97EFC
tetradic
#FCF97E #7EFCBA #7E81FC #FC7EC0
square
#FCF97E #7EFCBA #7E81FC #FC7EC0
split-complementary
#FCF97E #7EC0FC #BA7EFC
monochromatic
#F9F306 #FBF642 #FCF97E #FDFCBA #FEFEE1
Accessibility & contrast
On white
1.11
#FCF97E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.99
#FCF97E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF97E
18.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF97E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF97E | 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)
#FFF173
Deuteranopia (green-blind)
#FFF684
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F3F3F3
Design tokens & code
CSS
--color: #fcf97e; /* rgb */ color: rgb(252, 249, 126); /* oklch */ color: oklch(96.0% 0.145 107.6);
Tailwind
colors: {
custom: {
50: '#fffba6',
500: '#fcf97e',
950: '#000000',
},
}SCSS
$custom: #fcf97e; $custom-light: #fffba6; $custom-dark: #000000;
JSON
{
"hex": "#fcf97e",
"rgb": {
"r": 252,
"g": 249,
"b": 126
},
"hsl": {
"h": 58.571,
"s": 95.455,
"l": 74.118
},
"oklch": {
"l": 0.96013,
"c": 0.14521,
"h": 107.6
},
"luminance": 0.89953
}Semantic roles & 50–950 ramp
primary
#FCF97E
secondary
#4448DA
accent
#05E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580