#FCF56B#FCF56B

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

Color values

HEX#FCF56B
RGBrgb(252, 245, 107)
HSLhsl(57, 96%, 70%)
HSVhsv(57, 58%, 99%)
CMYKcmyk(0%, 2.8%, 57.5%, 1.2%)
CIE-LABlab(94.77, -14.47, 65.73)
CIE-LCHlch(94.77, 67.31, 102.41°)
OKLaboklab(94.99% -0.0444 0.1515)
OKLCHoklch(94.99% 0.158 106.3)
XYZxyz(75.4535, 87.0642, 26.7375)
Luminance0.8706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF56B #6B72FC
analogous
#FCAC6B #FCF56B #BBFC6B
triadic
#FCF56B #6BFCF5 #F56BFC
tetradic
#FCF56B #6BFCAC #6B72FC #FC6BBB
square
#FCF56B #6BFCAC #6B72FC #FC6BBB
split-complementary
#FCF56B #6BBBFC #AC6BFC
monochromatic
#E8DD05 #FBF12F #FCF56B #FDF9A7 #FEFDE1

Accessibility & contrast

On white

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

On black

18.41
#FCF56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF56B
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF56B#FFFFFF#000000##000000
##FCF56B1.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf56b;
/* rgb */ color: rgb(252, 245, 107);
/* oklch */ color: oklch(95.0% 0.158 106.3);
Tailwind
colors: {
  custom: {
    50: '#fff89a',
    500: '#fcf56b',
    950: '#000000',
  },
}
SCSS
$custom: #fcf56b;
$custom-light: #fff89a;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf56b",
  "rgb": {
    "r": 252,
    "g": 245,
    "b": 107
  },
  "hsl": {
    "h": 57.103,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.94988,
    "c": 0.15788,
    "h": 106.3
  },
  "luminance": 0.87062
}

Semantic roles & 50–950 ramp

primary
#FCF56B
secondary
#343CD7
accent
#0BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF56B

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

Preview Lab → · Contrast checker → · Palette generator →

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