#FCF971#FCF971

#FCF971 is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 95.9% C 0.157 H 107.9°. Best body text is #000000 at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#FCF971
RGBrgb(252, 249, 113)
HSLhsl(59, 96%, 72%)
HSVhsv(59, 55%, 99%)
CMYKcmyk(0%, 1.2%, 55.2%, 1.2%)
CIE-LABlab(95.85, -15.99, 64.36)
CIE-LCHlch(95.85, 66.32, 103.95°)
OKLaboklab(95.87% -0.0481 0.1493)
OKLCHoklch(95.87% 0.157 107.9)
XYZxyz(77.0034, 89.6412, 28.8658)
Luminance0.8964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF971 #7174FC
analogous
#FCB471 #FCF971 #BAFC71
triadic
#FCF971 #71FCF9 #F971FC
tetradic
#FCF971 #71FCB4 #7174FC #FC71BA
square
#FCF971 #71FCB4 #7174FC #FC71BA
split-complementary
#FCF971 #71BAFC #B471FC
monochromatic
#EEE905 #FBF635 #FCF971 #FDFCAD #FEFEE1

Accessibility & contrast

On white

1.11
#FCF971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.93
#FCF971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF971
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF971#FFFFFF#000000##000000
##FCF9711.001.1118.9318.93
#FFFFFF1.111.0021.0021.00
#00000018.9321.001.001.00
##00000018.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF063
Deuteranopia (green-blind)
#FFF678
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fcf971;
/* rgb */ color: rgb(252, 249, 113);
/* oklch */ color: oklch(95.9% 0.157 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffb9e',
    500: '#fcf971',
    950: '#000000',
  },
}
SCSS
$custom: #fcf971;
$custom-light: #fffb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf971",
  "rgb": {
    "r": 252,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 58.705,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95867,
    "c": 0.15683,
    "h": 107.9
  },
  "luminance": 0.89639
}

Semantic roles & 50–950 ramp

primary
#FCF971
secondary
#393DD8
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF971

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

Preview Lab → · Contrast checker → · Palette generator →

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