#FCF09C#FCF09C

#FCF09C is a very light, moderate yellow. Relative luminance 0.854; OKLCH L 94.6% C 0.105 H 101.1°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#FCF09C
RGBrgb(252, 240, 156)
HSLhsl(53, 94%, 80%)
HSVhsv(53, 38%, 99%)
CMYKcmyk(0%, 4.8%, 38.1%, 1.2%)
CIE-LABlab(94.06, -7.68, 42.06)
CIE-LCHlch(94.06, 42.75, 100.35°)
OKLaboklab(94.62% -0.0203 0.1031)
OKLCHoklch(94.62% 0.105 101.1)
XYZxyz(77.3071, 85.4180, 43.8611)
Luminance0.8542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF09C #9CA8FC
analogous
#FCC09C #FCF09C #D8FC9C
triadic
#FCF09C #9CFCF0 #F09CFC
tetradic
#FCF09C #9CFCC0 #9CA8FC #FC9CD8
square
#FCF09C #9CFCC0 #9CA8FC #FC9CD8
split-complementary
#FCF09C #9CD8FC #C09CFC
monochromatic
#F8DE25 #FAE761 #FCF09C #FEF9D7 #FEFBE1

Accessibility & contrast

On white

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

On black

18.08
#FCF09C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF09C
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF09C#FFFFFF#000000##000000
##FCF09C1.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB96
Deuteranopia (green-blind)
#FFF09F
Tritanopia (blue-blind)
#FFE5DB
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcf09c;
/* rgb */ color: rgb(252, 240, 156);
/* oklch */ color: oklch(94.6% 0.105 101.1);
Tailwind
colors: {
  custom: {
    50: '#fef4ba',
    500: '#fcf09c',
    950: '#000000',
  },
}
SCSS
$custom: #fcf09c;
$custom-light: #fef4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf09c",
  "rgb": {
    "r": 252,
    "g": 240,
    "b": 156
  },
  "hsl": {
    "h": 52.5,
    "s": 94.118,
    "l": 80
  },
  "oklch": {
    "l": 0.94615,
    "c": 0.10512,
    "h": 101.1
  },
  "luminance": 0.85416
}

Semantic roles & 50–950 ramp

primary
#FCF09C
secondary
#5E6EDE
accent
#1DE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FCF09C

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

Preview Lab → · Contrast checker → · Palette generator →

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