#FCF071#FCF071

#FCF071 is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 94.0% C 0.148 H 103.9°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#FCF071
RGBrgb(252, 240, 113)
HSLhsl(55, 96%, 72%)
HSVhsv(55, 55%, 99%)
CMYKcmyk(0%, 4.8%, 55.2%, 1.2%)
CIE-LABlab(93.54, -11.59, 61.74)
CIE-LCHlch(93.54, 62.82, 100.63°)
OKLaboklab(94.03% -0.0356 0.1437)
OKLCHoklch(94.03% 0.148 103.9)
XYZxyz(74.2880, 84.2104, 27.9606)
Luminance0.8421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF071 #717DFC
analogous
#FCAB71 #FCF071 #C3FC71
triadic
#FCF071 #71FCF0 #F071FC
tetradic
#FCF071 #71FCAB #717DFC #FC71C3
square
#FCF071 #71FCAB #717DFC #FC71C3
split-complementary
#FCF071 #71C3FC #AB71FC
monochromatic
#EEDA05 #FBEA35 #FCF071 #FDF6AD #FEFCE1

Accessibility & contrast

On white

1.18
#FCF071 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.84
#FCF071 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF071
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF071#FFFFFF#000000##000000
##FCF0711.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FFEF77
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fcf071;
/* rgb */ color: rgb(252, 240, 113);
/* oklch */ color: oklch(94.0% 0.148 103.9);
Tailwind
colors: {
  custom: {
    50: '#fff49d',
    500: '#fcf071',
    950: '#000000',
  },
}
SCSS
$custom: #fcf071;
$custom-light: #fff49d;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf071",
  "rgb": {
    "r": 252,
    "g": 240,
    "b": 113
  },
  "hsl": {
    "h": 54.82,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94032,
    "c": 0.148,
    "h": 103.9
  },
  "luminance": 0.84208
}

Semantic roles & 50–950 ramp

primary
#FCF071
secondary
#3947D8
accent
#14E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF071

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

Preview Lab → · Contrast checker → · Palette generator →

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