#FCF896#FCF896

#FCF896 is a very light, vivid yellow. Relative luminance 0.900; OKLCH L 96.1% C 0.120 H 106.4°. Best body text is #000000 at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#FCF896
RGBrgb(252, 248, 150)
HSLhsl(58, 94%, 79%)
HSVhsv(58, 40%, 99%)
CMYKcmyk(0%, 1.6%, 40.5%, 1.2%)
CIE-LABlab(96.01, -12.26, 47.47)
CIE-LCHlch(96.01, 49.03, 104.48°)
OKLaboklab(96.13% -0.0339 0.1152)
OKLCHoklch(96.13% 0.12 106.4)
XYZxyz(79.2186, 90.0341, 42.0535)
Luminance0.9003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF896 #969AFC
analogous
#FCC596 #FCF896 #CDFC96
triadic
#FCF896 #96FCF8 #F896FC
tetradic
#FCF896 #96FCC5 #969AFC #FC96CD
square
#FCF896 #96FCC5 #969AFC #FC96CD
split-complementary
#FCF896 #96CDFC #C596FC
monochromatic
#F9F01F #FAF45B #FCF896 #FEFCD2 #FEFDE1

Accessibility & contrast

On white

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

On black

19.01
#FCF896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF896
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF896#FFFFFF#000000##000000
##FCF8961.001.1019.0119.01
#FFFFFF1.101.0021.0021.00
#00000019.0121.001.001.00
##00000019.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18E
Deuteranopia (green-blind)
#FFF69A
Tritanopia (blue-blind)
#FFECE0
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fcf896;
/* rgb */ color: rgb(252, 248, 150);
/* oklch */ color: oklch(96.1% 0.120 106.4);
Tailwind
colors: {
  custom: {
    50: '#fffab6',
    500: '#fcf896',
    950: '#000000',
  },
}
SCSS
$custom: #fcf896;
$custom-light: #fffab6;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf896",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 150
  },
  "hsl": {
    "h": 57.647,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.96133,
    "c": 0.12009,
    "h": 106.4
  },
  "luminance": 0.90032
}

Semantic roles & 50–950 ramp

primary
#FCF896
secondary
#595EDD
accent
#09E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF896

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

Preview Lab → · Contrast checker → · Palette generator →

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