#FCF696#FCF696

#FCF696 is a very light, moderate yellow. Relative luminance 0.888; OKLCH L 95.7% C 0.118 H 105.3°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#FCF696
RGBrgb(252, 246, 150)
HSLhsl(56, 94%, 79%)
HSVhsv(56, 40%, 99%)
CMYKcmyk(0%, 2.4%, 40.5%, 1.2%)
CIE-LABlab(95.50, -11.28, 46.83)
CIE-LCHlch(95.50, 48.17, 103.54°)
OKLaboklab(95.73% -0.0311 0.1137)
OKLCHoklch(95.73% 0.118 105.3)
XYZxyz(78.6071, 88.8109, 41.8496)
Luminance0.8881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF696 #969CFC
analogous
#FCC396 #FCF696 #CFFC96
triadic
#FCF696 #96FCF6 #F696FC
tetradic
#FCF696 #96FCC3 #969CFC #FC96CF
square
#FCF696 #96FCC3 #969CFC #FC96CF
split-complementary
#FCF696 #96CFFC #C396FC
monochromatic
#F9EC1F #FAF15B #FCF696 #FEFBD2 #FEFCE1

Accessibility & contrast

On white

1.12
#FCF696 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.76
#FCF696 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF696
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF696#FFFFFF#000000##000000
##FCF6961.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8F
Deuteranopia (green-blind)
#FFF49A
Tritanopia (blue-blind)
#FFEADF
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf696;
/* rgb */ color: rgb(252, 246, 150);
/* oklch */ color: oklch(95.7% 0.118 105.3);
Tailwind
colors: {
  custom: {
    50: '#fff9b6',
    500: '#fcf696',
    950: '#000000',
  },
}
SCSS
$custom: #fcf696;
$custom-light: #fff9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf696",
  "rgb": {
    "r": 252,
    "g": 246,
    "b": 150
  },
  "hsl": {
    "h": 56.471,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.95728,
    "c": 0.11792,
    "h": 105.3
  },
  "luminance": 0.88809
}

Semantic roles & 50–950 ramp

primary
#FCF696
secondary
#5961DD
accent
#0DE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF696

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

Preview Lab → · Contrast checker → · Palette generator →

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