#FCF296#FCF296
#FCF296 is a very light, moderate yellow. Relative luminance 0.864; OKLCH L 94.9% C 0.114 H 102.9°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF296 |
|---|---|
| RGB | rgb(252, 242, 150) |
| HSL | hsl(54, 94%, 79%) |
| HSV | hsv(54, 40%, 99%) |
| CMYK | cmyk(0%, 4%, 40.5%, 1.2%) |
| CIE-LAB | lab(94.48, -9.31, 45.54) |
| CIE-LCH | lch(94.48, 46.48, 101.55°) |
| OKLab | oklab(94.92% -0.0254 0.1108) |
| OKLCH | oklch(94.92% 0.114 102.9) |
| XYZ | xyz(77.4035, 86.4038, 41.4485) |
| Luminance | 0.8640 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Cream
#FFF39A
ΔE00 0.78
Buff
#FEF69E
ΔE00 1.17
Khaki (CSS)
#F0E68C
ΔE00 2.56
Manilla
#FFFA86
ΔE00 3.71
Parchment
#FEFCAF
ΔE00 3.92
Straw
#FCF679
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF296 #96A0FC
analogous
#FCBF96 #FCF296 #D3FC96
triadic
#FCF296 #96FCF2 #F296FC
tetradic
#FCF296 #96FCBF #96A0FC #FC96D3
square
#FCF296 #96FCBF #96A0FC #FC96D3
split-complementary
#FCF296 #96D3FC #BF96FC
monochromatic
#F9E31F #FAEB5B #FCF296 #FEF9D2 #FEFBE1
Accessibility & contrast
On white
1.15
#FCF296 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.28
#FCF296 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF296
18.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF296 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF296 | 1.00 | 1.15 | 18.28 | 18.28 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC8F
Deuteranopia (green-blind)
#FFF29A
Tritanopia (blue-blind)
#FFE6DB
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #fcf296; /* rgb */ color: rgb(252, 242, 150); /* oklch */ color: oklch(94.9% 0.114 102.9);
Tailwind
colors: {
custom: {
50: '#fff6b6',
500: '#fcf296',
950: '#000000',
},
}SCSS
$custom: #fcf296; $custom-light: #fff6b6; $custom-dark: #000000;
JSON
{
"hex": "#fcf296",
"rgb": {
"r": 252,
"g": 242,
"b": 150
},
"hsl": {
"h": 54.118,
"s": 94.444,
"l": 78.824
},
"oklch": {
"l": 0.94922,
"c": 0.1137,
"h": 102.9
},
"luminance": 0.86402
}Semantic roles & 50–950 ramp
primary
#FCF296
secondary
#5966DD
accent
#16E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581