#FCF396#FCF396

#FCF396 is a very light, moderate yellow. Relative luminance 0.870; OKLCH L 95.1% C 0.115 H 103.5°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#FCF396
RGBrgb(252, 243, 150)
HSLhsl(55, 94%, 79%)
HSVhsv(55, 40%, 99%)
CMYKcmyk(0%, 3.6%, 40.5%, 1.2%)
CIE-LABlab(94.74, -9.80, 45.86)
CIE-LCHlch(94.74, 46.90, 102.06°)
OKLaboklab(95.12% -0.0269 0.1116)
OKLCHoklch(95.12% 0.115 103.5)
XYZxyz(77.7019, 87.0007, 41.5479)
Luminance0.8700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF396 #969FFC
analogous
#FCC096 #FCF396 #D2FC96
triadic
#FCF396 #96FCF3 #F396FC
tetradic
#FCF396 #96FCC0 #969FFC #FC96D2
square
#FCF396 #96FCC0 #969FFC #FC96D2
split-complementary
#FCF396 #96D2FC #C096FC
monochromatic
#F9E51F #FAEC5B #FCF396 #FEFAD2 #FEFCE1

Accessibility & contrast

On white

1.14
#FCF396 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.40
#FCF396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF396
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF396#FFFFFF#000000##000000
##FCF3961.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8F
Deuteranopia (green-blind)
#FFF29A
Tritanopia (blue-blind)
#FFE7DC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fcf396;
/* rgb */ color: rgb(252, 243, 150);
/* oklch */ color: oklch(95.1% 0.115 103.5);
Tailwind
colors: {
  custom: {
    50: '#fff6b6',
    500: '#fcf396',
    950: '#000000',
  },
}
SCSS
$custom: #fcf396;
$custom-light: #fff6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf396",
  "rgb": {
    "r": 252,
    "g": 243,
    "b": 150
  },
  "hsl": {
    "h": 54.706,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.95123,
    "c": 0.11474,
    "h": 103.5
  },
  "luminance": 0.86999
}

Semantic roles & 50–950 ramp

primary
#FCF396
secondary
#5965DD
accent
#14E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF396

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

Preview Lab → · Contrast checker → · Palette generator →

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