#FCF771#FCF771

#FCF771 is a very light, vivid yellow. Relative luminance 0.884; OKLCH L 95.5% C 0.155 H 107.0°. Best body text is #000000 at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#FCF771
RGBrgb(252, 247, 113)
HSLhsl(58, 96%, 72%)
HSVhsv(58, 55%, 99%)
CMYKcmyk(0%, 2%, 55.2%, 1.2%)
CIE-LABlab(95.33, -15.02, 63.78)
CIE-LCHlch(95.33, 65.52, 103.25°)
OKLaboklab(95.46% -0.0453 0.148)
OKLCHoklch(95.46% 0.155 107)
XYZxyz(76.3885, 88.4115, 28.6608)
Luminance0.8841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF771 #7176FC
analogous
#FCB271 #FCF771 #BCFC71
triadic
#FCF771 #71FCF7 #F771FC
tetradic
#FCF771 #71FCB2 #7176FC #FC71BC
square
#FCF771 #71FCB2 #7176FC #FC71BC
split-complementary
#FCF771 #71BCFC #B271FC
monochromatic
#EEE505 #FBF435 #FCF771 #FDFAAD #FEFDE1

Accessibility & contrast

On white

1.12
#FCF771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.68
#FCF771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF771
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF771#FFFFFF#000000##000000
##FCF7711.001.1218.6818.68
#FFFFFF1.121.0021.0021.00
#00000018.6821.001.001.00
##00000018.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF63
Deuteranopia (green-blind)
#FFF478
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf771;
/* rgb */ color: rgb(252, 247, 113);
/* oklch */ color: oklch(95.5% 0.155 107.0);
Tailwind
colors: {
  custom: {
    50: '#fff99e',
    500: '#fcf771',
    950: '#000000',
  },
}
SCSS
$custom: #fcf771;
$custom-light: #fff99e;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf771",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 57.842,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95458,
    "c": 0.15482,
    "h": 107
  },
  "luminance": 0.88409
}

Semantic roles & 50–950 ramp

primary
#FCF771
secondary
#393FD8
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF771

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

Preview Lab → · Contrast checker → · Palette generator →

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