#FCF196#FCF196

#FCF196 is a very light, moderate yellow. Relative luminance 0.858; OKLCH L 94.7% C 0.113 H 102.3°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#FCF196
RGBrgb(252, 241, 150)
HSLhsl(54, 94%, 79%)
HSVhsv(54, 40%, 99%)
CMYKcmyk(0%, 4.4%, 40.5%, 1.2%)
CIE-LABlab(94.23, -8.81, 45.22)
CIE-LCHlch(94.23, 46.07, 101.02°)
OKLaboklab(94.72% -0.024 0.1101)
OKLCHoklch(94.72% 0.113 102.3)
XYZxyz(77.1067, 85.8102, 41.3495)
Luminance0.8581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF196 #96A1FC
analogous
#FCBE96 #FCF196 #D4FC96
triadic
#FCF196 #96FCF1 #F196FC
tetradic
#FCF196 #96FCBE #96A1FC #FC96D4
square
#FCF196 #96FCBE #96A1FC #FC96D4
split-complementary
#FCF196 #96D4FC #BE96FC
monochromatic
#F9E11F #FAE95B #FCF196 #FEF9D2 #FEFBE1

Accessibility & contrast

On white

1.16
#FCF196 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.16
#FCF196 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF196
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF196#FFFFFF#000000##000000
##FCF1961.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB8F
Deuteranopia (green-blind)
#FFF19A
Tritanopia (blue-blind)
#FFE6DB
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcf196;
/* rgb */ color: rgb(252, 241, 150);
/* oklch */ color: oklch(94.7% 0.113 102.3);
Tailwind
colors: {
  custom: {
    50: '#fff5b6',
    500: '#fcf196',
    950: '#000000',
  },
}
SCSS
$custom: #fcf196;
$custom-light: #fff5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf196",
  "rgb": {
    "r": 252,
    "g": 241,
    "b": 150
  },
  "hsl": {
    "h": 53.529,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.94721,
    "c": 0.11268,
    "h": 102.3
  },
  "luminance": 0.85808
}

Semantic roles & 50–950 ramp

primary
#FCF196
secondary
#5967DD
accent
#19E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF196

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

Preview Lab → · Contrast checker → · Palette generator →

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