#FCF47B#FCF47B

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

Color values

HEX#FCF47B
RGBrgb(252, 244, 123)
HSLhsl(56, 96%, 74%)
HSVhsv(56, 51%, 99%)
CMYKcmyk(0%, 3.2%, 51.2%, 1.2%)
CIE-LABlab(94.67, -12.78, 58.54)
CIE-LCHlch(94.67, 59.92, 102.31°)
OKLaboklab(94.96% -0.0379 0.1378)
OKLCHoklch(94.96% 0.143 105.4)
XYZxyz(76.0728, 86.8292, 31.4875)
Luminance0.8683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF47B #7B83FC
analogous
#FCB37B #FCF47B #C3FC7B
triadic
#FCF47B #7BFCF4 #F47BFC
tetradic
#FCF47B #7BFCB3 #7B83FC #FC7BC3
square
#FCF47B #7BFCB3 #7B83FC #FC7BC3
split-complementary
#FCF47B #7BC3FC #B37BFC
monochromatic
#F7E806 #FBEF3F #FCF47B #FDF9B7 #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF47B#FFFFFF#000000##000000
##FCF47B1.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)
#FFEC70
Deuteranopia (green-blind)
#FFF281
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fcf47b;
/* rgb */ color: rgb(252, 244, 123);
/* oklch */ color: oklch(95.0% 0.143 105.4);
Tailwind
colors: {
  custom: {
    50: '#fff7a4',
    500: '#fcf47b',
    950: '#000000',
  },
}
SCSS
$custom: #fcf47b;
$custom-light: #fff7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf47b",
  "rgb": {
    "r": 252,
    "g": 244,
    "b": 123
  },
  "hsl": {
    "h": 56.279,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.94959,
    "c": 0.14288,
    "h": 105.4
  },
  "luminance": 0.86827
}

Semantic roles & 50–950 ramp

primary
#FCF47B
secondary
#424BD9
accent
#0EE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF47B

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

Preview Lab → · Contrast checker → · Palette generator →

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