#FCF47F#FCF47F

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

Color values

HEX#FCF47F
RGBrgb(252, 244, 127)
HSLhsl(56, 95%, 74%)
HSVhsv(56, 50%, 99%)
CMYKcmyk(0%, 3.2%, 49.6%, 1.2%)
CIE-LABlab(94.71, -12.45, 56.76)
CIE-LCHlch(94.71, 58.11, 102.37°)
OKLaboklab(95.01% -0.0365 0.1342)
OKLCHoklch(95.01% 0.139 105.2)
XYZxyz(76.3283, 86.9314, 32.8333)
Luminance0.8693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF47F #7F87FC
analogous
#FCB67F #FCF47F #C6FC7F
triadic
#FCF47F #7FFCF4 #F47FFC
tetradic
#FCF47F #7FFCB6 #7F87FC #FC7FC6
square
#FCF47F #7FFCB6 #7F87FC #FC7FC6
split-complementary
#FCF47F #7FC6FC #B67FFC
monochromatic
#F9EA07 #FBEF43 #FCF47F #FDF9BB #FEFCE1

Accessibility & contrast

On white

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

On black

18.39
#FCF47F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF47F
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF47F#FFFFFF#000000##000000
##FCF47F1.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf47f;
/* rgb */ color: rgb(252, 244, 127);
/* oklch */ color: oklch(95.0% 0.139 105.2);
Tailwind
colors: {
  custom: {
    50: '#fff7a7',
    500: '#fcf47f',
    950: '#000000',
  },
}
SCSS
$custom: #fcf47f;
$custom-light: #fff7a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf47f",
  "rgb": {
    "r": 252,
    "g": 244,
    "b": 127
  },
  "hsl": {
    "h": 56.16,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.95007,
    "c": 0.13912,
    "h": 105.2
  },
  "luminance": 0.86929
}

Semantic roles & 50–950 ramp

primary
#FCF47F
secondary
#454FDA
accent
#0FE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FCF47F

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

Preview Lab → · Contrast checker → · Palette generator →

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