#FCF89A#FCF89A

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

Color values

HEX#FCF89A
RGBrgb(252, 248, 154)
HSLhsl(58, 94%, 80%)
HSVhsv(58, 39%, 99%)
CMYKcmyk(0%, 1.6%, 38.9%, 1.2%)
CIE-LABlab(96.07, -11.85, 45.60)
CIE-LCHlch(96.07, 47.11, 104.57°)
OKLaboklab(96.19% -0.0324 0.1112)
OKLCHoklch(96.19% 0.116 106.3)
XYZxyz(79.5462, 90.1651, 43.7789)
Luminance0.9016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF89A #9A9EFC
analogous
#FCC79A #FCF89A #CFFC9A
triadic
#FCF89A #9AFCF8 #F89AFC
tetradic
#FCF89A #9AFCC7 #9A9EFC #FC9ACF
square
#FCF89A #9AFCC7 #9A9EFC #FC9ACF
split-complementary
#FCF89A #9ACFFC #C79AFC
monochromatic
#F8F023 #FAF45F #FCF89A #FEFCD5 #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF89A#FFFFFF#000000##000000
##FCF89A1.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)
#FFF193
Deuteranopia (green-blind)
#FFF69E
Tritanopia (blue-blind)
#FFEDE1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fcf89a;
/* rgb */ color: rgb(252, 248, 154);
/* oklch */ color: oklch(96.2% 0.116 106.3);
Tailwind
colors: {
  custom: {
    50: '#fffab9',
    500: '#fcf89a',
    950: '#000000',
  },
}
SCSS
$custom: #fcf89a;
$custom-light: #fffab9;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf89a",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 154
  },
  "hsl": {
    "h": 57.551,
    "s": 94.231,
    "l": 79.608
  },
  "oklch": {
    "l": 0.96194,
    "c": 0.11579,
    "h": 106.3
  },
  "luminance": 0.90163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF89A

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

Preview Lab → · Contrast checker → · Palette generator →

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