#FCF371#FCF371

#FCF371 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.6% C 0.151 H 105.3°. Best body text is #000000 at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#FCF371
RGBrgb(252, 243, 113)
HSLhsl(56, 96%, 72%)
HSVhsv(56, 55%, 99%)
CMYKcmyk(0%, 3.6%, 55.2%, 1.2%)
CIE-LABlab(94.31, -13.06, 62.62)
CIE-LCHlch(94.31, 63.96, 101.79°)
OKLaboklab(94.64% -0.0398 0.1455)
OKLCHoklch(94.64% 0.151 105.3)
XYZxyz(75.1784, 85.9913, 28.2574)
Luminance0.8599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF371 #717AFC
analogous
#FCAE71 #FCF371 #C0FC71
triadic
#FCF371 #71FCF3 #F371FC
tetradic
#FCF371 #71FCAE #717AFC #FC71C0
square
#FCF371 #71FCAE #717AFC #FC71C0
split-complementary
#FCF371 #71C0FC #AE71FC
monochromatic
#EEDF05 #FBEE35 #FCF371 #FDF8AD #FEFCE1

Accessibility & contrast

On white

1.15
#FCF371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.20
#FCF371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF371
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF371#FFFFFF#000000##000000
##FCF3711.001.1518.2018.20
#FFFFFF1.151.0021.0021.00
#00000018.2021.001.001.00
##00000018.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB64
Deuteranopia (green-blind)
#FFF178
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf371;
/* rgb */ color: rgb(252, 243, 113);
/* oklch */ color: oklch(94.6% 0.151 105.3);
Tailwind
colors: {
  custom: {
    50: '#fff69e',
    500: '#fcf371',
    950: '#000000',
  },
}
SCSS
$custom: #fcf371;
$custom-light: #fff69e;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf371",
  "rgb": {
    "r": 252,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 56.115,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94642,
    "c": 0.15087,
    "h": 105.3
  },
  "luminance": 0.85989
}

Semantic roles & 50–950 ramp

primary
#FCF371
secondary
#3943D8
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF371

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

Preview Lab → · Contrast checker → · Palette generator →

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