#FCF596#FCF596

#FCF596 is a very light, moderate yellow. Relative luminance 0.882; OKLCH L 95.5% C 0.117 H 104.7°. Best body text is #000000 at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#FCF596
RGBrgb(252, 245, 150)
HSLhsl(56, 94%, 79%)
HSVhsv(56, 40%, 99%)
CMYKcmyk(0%, 2.8%, 40.5%, 1.2%)
CIE-LABlab(95.25, -10.79, 46.51)
CIE-LCHlch(95.25, 47.74, 103.06°)
OKLaboklab(95.53% -0.0297 0.113)
OKLCHoklch(95.53% 0.117 104.7)
XYZxyz(78.3037, 88.2042, 41.7485)
Luminance0.8820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF596 #969DFC
analogous
#FCC296 #FCF596 #D0FC96
triadic
#FCF596 #96FCF5 #F596FC
tetradic
#FCF596 #96FCC2 #969DFC #FC96D0
square
#FCF596 #96FCC2 #969DFC #FC96D0
split-complementary
#FCF596 #96D0FC #C296FC
monochromatic
#F9EA1F #FAEF5B #FCF596 #FEFBD2 #FEFCE1

Accessibility & contrast

On white

1.13
#FCF596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.64
#FCF596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF596
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF596#FFFFFF#000000##000000
##FCF5961.001.1318.6418.64
#FFFFFF1.131.0021.0021.00
#00000018.6421.001.001.00
##00000018.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf596;
/* rgb */ color: rgb(252, 245, 150);
/* oklch */ color: oklch(95.5% 0.117 104.7);
Tailwind
colors: {
  custom: {
    50: '#fff8b6',
    500: '#fcf596',
    950: '#000000',
  },
}
SCSS
$custom: #fcf596;
$custom-light: #fff8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf596",
  "rgb": {
    "r": 252,
    "g": 245,
    "b": 150
  },
  "hsl": {
    "h": 55.882,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.95526,
    "c": 0.11685,
    "h": 104.7
  },
  "luminance": 0.88202
}

Semantic roles & 50–950 ramp

primary
#FCF596
secondary
#5962DD
accent
#10E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF596

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

Preview Lab → · Contrast checker → · Palette generator →

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