#FCF671#FCF671

#FCF671 is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.3% C 0.154 H 106.6°. Best body text is #000000 at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#FCF671
RGBrgb(252, 246, 113)
HSLhsl(57, 96%, 72%)
HSVhsv(57, 55%, 99%)
CMYKcmyk(0%, 2.4%, 55.2%, 1.2%)
CIE-LABlab(95.08, -14.53, 63.49)
CIE-LCHlch(95.08, 65.13, 102.89°)
OKLaboklab(95.25% -0.0439 0.1474)
OKLCHoklch(95.25% 0.154 106.6)
XYZxyz(76.0835, 87.8015, 28.5591)
Luminance0.8780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF671 #7177FC
analogous
#FCB171 #FCF671 #BDFC71
triadic
#FCF671 #71FCF6 #F671FC
tetradic
#FCF671 #71FCB1 #7177FC #FC71BD
square
#FCF671 #71FCB1 #7177FC #FC71BD
split-complementary
#FCF671 #71BDFC #B171FC
monochromatic
#EEE405 #FBF235 #FCF671 #FDFAAD #FEFDE1

Accessibility & contrast

On white

1.13
#FCF671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.56
#FCF671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF671
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF671#FFFFFF#000000##000000
##FCF6711.001.1318.5618.56
#FFFFFF1.131.0021.0021.00
#00000018.5621.001.001.00
##00000018.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE63
Deuteranopia (green-blind)
#FFF378
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fcf671;
/* rgb */ color: rgb(252, 246, 113);
/* oklch */ color: oklch(95.3% 0.154 106.6);
Tailwind
colors: {
  custom: {
    50: '#fff89e',
    500: '#fcf671',
    950: '#000000',
  },
}
SCSS
$custom: #fcf671;
$custom-light: #fff89e;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf671",
  "rgb": {
    "r": 252,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 57.41,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95254,
    "c": 0.15382,
    "h": 106.6
  },
  "luminance": 0.87799
}

Semantic roles & 50–950 ramp

primary
#FCF671
secondary
#3940D8
accent
#0AE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF671

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

Preview Lab → · Contrast checker → · Palette generator →

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