#FCF89D#FCF89D

#FCF89D is a very light, moderate yellow. Relative luminance 0.903; OKLCH L 96.2% C 0.113 H 106.2°. Best body text is #000000 at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#FCF89D
RGBrgb(252, 248, 157)
HSLhsl(57, 94%, 80%)
HSVhsv(57, 38%, 99%)
CMYKcmyk(0%, 1.6%, 37.7%, 1.2%)
CIE-LABlab(96.11, -11.53, 44.19)
CIE-LCHlch(96.11, 45.67, 104.62°)
OKLaboklab(96.24% -0.0313 0.1081)
OKLCHoklch(96.24% 0.113 106.2)
XYZxyz(79.7992, 90.2663, 45.1112)
Luminance0.9026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF89D #9DA1FC
analogous
#FCC99D #FCF89D #D0FC9D
triadic
#FCF89D #9DFCF8 #F89DFC
tetradic
#FCF89D #9DFCC9 #9DA1FC #FC9DD0
square
#FCF89D #9DFCC9 #9DA1FC #FC9DD0
split-complementary
#FCF89D #9DD0FC #C99DFC
monochromatic
#F8F026 #FAF462 #FCF89D #FEFCD8 #FEFDE1

Accessibility & contrast

On white

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

On black

19.05
#FCF89D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF89D
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF89D#FFFFFF#000000##000000
##FCF89D1.001.1019.0519.05
#FFFFFF1.101.0021.0021.00
#00000019.0521.001.001.00
##00000019.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf89d;
/* rgb */ color: rgb(252, 248, 157);
/* oklch */ color: oklch(96.2% 0.113 106.2);
Tailwind
colors: {
  custom: {
    50: '#fefabb',
    500: '#fcf89d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf89d;
$custom-light: #fefabb;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf89d",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 157
  },
  "hsl": {
    "h": 57.474,
    "s": 94.059,
    "l": 80.196
  },
  "oklch": {
    "l": 0.96241,
    "c": 0.11251,
    "h": 106.2
  },
  "luminance": 0.90265
}

Semantic roles & 50–950 ramp

primary
#FCF89D
secondary
#5F64DE
accent
#0AE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FCF89D

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

Preview Lab → · Contrast checker → · Palette generator →

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