#FCF56D#FCF56D

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

Color values

HEX#FCF56D
RGBrgb(252, 245, 109)
HSLhsl(57, 96%, 71%)
HSVhsv(57, 57%, 99%)
CMYKcmyk(0%, 2.8%, 56.7%, 1.2%)
CIE-LABlab(94.78, -14.33, 64.89)
CIE-LCHlch(94.78, 66.46, 102.45°)
OKLaboklab(95.01% -0.0438 0.15)
OKLCHoklch(95.01% 0.156 106.3)
XYZxyz(75.5600, 87.1067, 27.2981)
Luminance0.8710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF56D #6D74FC
analogous
#FCAD6D #FCF56D #BBFC6D
triadic
#FCF56D #6DFCF5 #F56DFC
tetradic
#FCF56D #6DFCAD #6D74FC #FC6DBB
square
#FCF56D #6DFCAD #6D74FC #FC6DBB
split-complementary
#FCF56D #6DBBFC #AD6DFC
monochromatic
#EADF05 #FBF131 #FCF56D #FDF9A9 #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF56D#FFFFFF#000000##000000
##FCF56D1.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)
#FFED5E
Deuteranopia (green-blind)
#FFF374
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fcf56d;
/* rgb */ color: rgb(252, 245, 109);
/* oklch */ color: oklch(95.0% 0.156 106.3);
Tailwind
colors: {
  custom: {
    50: '#fff89b',
    500: '#fcf56d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf56d;
$custom-light: #fff89b;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf56d",
  "rgb": {
    "r": 252,
    "g": 245,
    "b": 109
  },
  "hsl": {
    "h": 57.063,
    "s": 95.973,
    "l": 70.784
  },
  "oklch": {
    "l": 0.95008,
    "c": 0.15622,
    "h": 106.3
  },
  "luminance": 0.87104
}

Semantic roles & 50–950 ramp

primary
#FCF56D
secondary
#363ED7
accent
#0BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF56D

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

Preview Lab → · Contrast checker → · Palette generator →

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