#FCF899#FCF899

#FCF899 is a very light, moderate yellow. Relative luminance 0.901; OKLCH L 96.2% C 0.117 H 106.3°. Best body text is #000000 at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#FCF899
RGBrgb(252, 248, 153)
HSLhsl(58, 94%, 79%)
HSVhsv(58, 39%, 99%)
CMYKcmyk(0%, 1.6%, 39.3%, 1.2%)
CIE-LABlab(96.05, -11.95, 46.07)
CIE-LCHlch(96.05, 47.59, 104.55°)
OKLaboklab(96.18% -0.0328 0.1122)
OKLCHoklch(96.18% 0.117 106.3)
XYZxyz(79.4633, 90.1320, 43.3421)
Luminance0.9013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF899 #999DFC
analogous
#FCC799 #FCF899 #CFFC99
triadic
#FCF899 #99FCF8 #F899FC
tetradic
#FCF899 #99FCC7 #999DFC #FC99CF
square
#FCF899 #99FCC7 #999DFC #FC99CF
split-complementary
#FCF899 #99CFFC #C799FC
monochromatic
#F9F022 #FAF45E #FCF899 #FEFCD4 #FEFDE1

Accessibility & contrast

On white

1.10
#FCF899 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.03
#FCF899 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF899
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF899#FFFFFF#000000##000000
##FCF8991.001.1019.0319.03
#FFFFFF1.101.0021.0021.00
#00000019.0321.001.001.00
##00000019.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF192
Deuteranopia (green-blind)
#FFF69D
Tritanopia (blue-blind)
#FFEDE1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fcf899;
/* rgb */ color: rgb(252, 248, 153);
/* oklch */ color: oklch(96.2% 0.117 106.3);
Tailwind
colors: {
  custom: {
    50: '#fffab8',
    500: '#fcf899',
    950: '#000000',
  },
}
SCSS
$custom: #fcf899;
$custom-light: #fffab8;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf899",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 153
  },
  "hsl": {
    "h": 57.576,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.96178,
    "c": 0.11687,
    "h": 106.3
  },
  "luminance": 0.9013
}

Semantic roles & 50–950 ramp

primary
#FCF899
secondary
#5C61DE
accent
#09E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF899

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#FCF899 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva