#FCF47C#FCF47C

#FCF47C is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 95.0% C 0.142 H 105.3°. Best body text is #000000 at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#FCF47C
RGBrgb(252, 244, 124)
HSLhsl(56, 96%, 74%)
HSVhsv(56, 51%, 99%)
CMYKcmyk(0%, 3.2%, 50.8%, 1.2%)
CIE-LABlab(94.68, -12.70, 58.10)
CIE-LCHlch(94.68, 59.47, 102.33°)
OKLaboklab(94.97% -0.0376 0.1369)
OKLCHoklch(94.97% 0.142 105.3)
XYZxyz(76.1357, 86.8543, 31.8189)
Luminance0.8685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF47C #7C84FC
analogous
#FCB47C #FCF47C #C4FC7C
triadic
#FCF47C #7CFCF4 #F47CFC
tetradic
#FCF47C #7CFCB4 #7C84FC #FC7CC4
square
#FCF47C #7CFCB4 #7C84FC #FC7CC4
split-complementary
#FCF47C #7CC4FC #B47CFC
monochromatic
#F8E906 #FBEF40 #FCF47C #FDF9B8 #FEFCE1

Accessibility & contrast

On white

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

On black

18.37
#FCF47C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF47C
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF47C#FFFFFF#000000##000000
##FCF47C1.001.1418.3718.37
#FFFFFF1.141.0021.0021.00
#00000018.3721.001.001.00
##00000018.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC71
Deuteranopia (green-blind)
#FFF282
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fcf47c;
/* rgb */ color: rgb(252, 244, 124);
/* oklch */ color: oklch(95.0% 0.142 105.3);
Tailwind
colors: {
  custom: {
    50: '#fff7a5',
    500: '#fcf47c',
    950: '#000000',
  },
}
SCSS
$custom: #fcf47c;
$custom-light: #fff7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf47c",
  "rgb": {
    "r": 252,
    "g": 244,
    "b": 124
  },
  "hsl": {
    "h": 56.25,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94971,
    "c": 0.14195,
    "h": 105.3
  },
  "luminance": 0.86852
}

Semantic roles & 50–950 ramp

primary
#FCF47C
secondary
#434CDA
accent
#0EE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF47C

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

Preview Lab → · Contrast checker → · Palette generator →

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