#FCF299#FCF299
#FCF299 is a very light, moderate yellow. Relative luminance 0.865; OKLCH L 95.0% C 0.110 H 102.7°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF299 |
|---|---|
| RGB | rgb(252, 242, 153) |
| HSL | hsl(54, 94%, 79%) |
| HSV | hsv(54, 39%, 99%) |
| CMYK | cmyk(0%, 4%, 39.3%, 1.2%) |
| CIE-LAB | lab(94.53, -8.99, 44.13) |
| CIE-LCH | lch(94.53, 45.04, 101.52°) |
| OKLab | oklab(94.97% -0.0243 0.1078) |
| OKLCH | oklch(94.97% 0.11 102.7) |
| XYZ | xyz(77.6482, 86.5017, 42.7370) |
| Luminance | 0.8650 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Cream
#FFF39A
ΔE00 0.61
Buff
#FEF69E
ΔE00 0.96
Khaki (CSS)
#F0E68C
ΔE00 2.59
Parchment
#FEFCAF
ΔE00 3.60
Manilla
#FFFA86
ΔE00 4.12
Light Tan
#FBEEAC
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF299 #99A3FC
analogous
#FCC199 #FCF299 #D5FC99
triadic
#FCF299 #99FCF2 #F299FC
tetradic
#FCF299 #99FCC1 #99A3FC #FC99D5
square
#FCF299 #99FCC1 #99A3FC #FC99D5
split-complementary
#FCF299 #99D5FC #C199FC
monochromatic
#F9E322 #FAEA5E #FCF299 #FEFAD4 #FEFBE1
Accessibility & contrast
On white
1.15
#FCF299 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.30
#FCF299 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF299
18.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF299 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF299 | 1.00 | 1.15 | 18.30 | 18.30 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC92
Deuteranopia (green-blind)
#FFF29D
Tritanopia (blue-blind)
#FFE7DC
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #fcf299; /* rgb */ color: rgb(252, 242, 153); /* oklch */ color: oklch(95.0% 0.110 102.7);
Tailwind
colors: {
custom: {
50: '#fff6b8',
500: '#fcf299',
950: '#000000',
},
}SCSS
$custom: #fcf299; $custom-light: #fff6b8; $custom-dark: #000000;
JSON
{
"hex": "#fcf299",
"rgb": {
"r": 252,
"g": 242,
"b": 153
},
"hsl": {
"h": 53.939,
"s": 94.286,
"l": 79.412
},
"oklch": {
"l": 0.94968,
"c": 0.11046,
"h": 102.7
},
"luminance": 0.865
}Semantic roles & 50–950 ramp
primary
#FCF299
secondary
#5C69DE
accent
#17E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581