#FCF56C#FCF56C

#FCF56C is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 95.0% C 0.157 H 106.3°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#FCF56C
RGBrgb(252, 245, 108)
HSLhsl(57, 96%, 71%)
HSVhsv(57, 57%, 99%)
CMYKcmyk(0%, 2.8%, 57.1%, 1.2%)
CIE-LABlab(94.77, -14.40, 65.31)
CIE-LCHlch(94.77, 66.88, 102.43°)
OKLaboklab(95% -0.0441 0.1507)
OKLCHoklch(95% 0.157 106.3)
XYZxyz(75.5064, 87.0853, 27.0162)
Luminance0.8708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF56C #6C73FC
analogous
#FCAD6C #FCF56C #BBFC6C
triadic
#FCF56C #6CFCF5 #F56CFC
tetradic
#FCF56C #6CFCAD #6C73FC #FC6CBB
square
#FCF56C #6CFCAD #6C73FC #FC6CBB
split-complementary
#FCF56C #6CBBFC #AD6CFC
monochromatic
#E9DE05 #FBF130 #FCF56C #FDF9A8 #FEFDE1

Accessibility & contrast

On white

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

On black

18.42
#FCF56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF56C
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF56C#FFFFFF#000000##000000
##FCF56C1.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5D
Deuteranopia (green-blind)
#FFF373
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fcf56c;
/* rgb */ color: rgb(252, 245, 108);
/* oklch */ color: oklch(95.0% 0.157 106.3);
Tailwind
colors: {
  custom: {
    50: '#fff89b',
    500: '#fcf56c',
    950: '#000000',
  },
}
SCSS
$custom: #fcf56c;
$custom-light: #fff89b;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf56c",
  "rgb": {
    "r": 252,
    "g": 245,
    "b": 108
  },
  "hsl": {
    "h": 57.083,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94998,
    "c": 0.15706,
    "h": 106.3
  },
  "luminance": 0.87083
}

Semantic roles & 50–950 ramp

primary
#FCF56C
secondary
#353DD7
accent
#0BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF56C

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

Preview Lab → · Contrast checker → · Palette generator →

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