#FCF47D#FCF47D

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

Color values

HEX#FCF47D
RGBrgb(252, 244, 125)
HSLhsl(56, 95%, 74%)
HSVhsv(56, 50%, 99%)
CMYKcmyk(0%, 3.2%, 50.4%, 1.2%)
CIE-LABlab(94.69, -12.61, 57.66)
CIE-LCHlch(94.69, 59.02, 102.34°)
OKLaboklab(94.98% -0.0372 0.136)
OKLCHoklch(94.98% 0.141 105.3)
XYZxyz(76.1993, 86.8797, 32.1536)
Luminance0.8688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF47D #7D85FC
analogous
#FCB57D #FCF47D #C5FC7D
triadic
#FCF47D #7DFCF4 #F47DFC
tetradic
#FCF47D #7DFCB5 #7D85FC #FC7DC5
square
#FCF47D #7DFCB5 #7D85FC #FC7DC5
split-complementary
#FCF47D #7DC5FC #B57DFC
monochromatic
#F9EA06 #FBEF41 #FCF47D #FDF9B9 #FEFCE1

Accessibility & contrast

On white

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

On black

18.38
#FCF47D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF47D
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF47D#FFFFFF#000000##000000
##FCF47D1.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf47d;
/* rgb */ color: rgb(252, 244, 125);
/* oklch */ color: oklch(95.0% 0.141 105.3);
Tailwind
colors: {
  custom: {
    50: '#fff7a5',
    500: '#fcf47d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf47d;
$custom-light: #fff7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf47d",
  "rgb": {
    "r": 252,
    "g": 244,
    "b": 125
  },
  "hsl": {
    "h": 56.22,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.94983,
    "c": 0.14101,
    "h": 105.3
  },
  "luminance": 0.86877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF47D

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

Preview Lab → · Contrast checker → · Palette generator →

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