#FCF76C#FCF76C

#FCF76C is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.4% C 0.159 H 107.1°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#FCF76C
RGBrgb(252, 247, 108)
HSLhsl(58, 96%, 71%)
HSVhsv(58, 57%, 99%)
CMYKcmyk(0%, 2%, 57.1%, 1.2%)
CIE-LABlab(95.29, -15.37, 65.89)
CIE-LCHlch(95.29, 67.66, 103.13°)
OKLaboklab(95.41% -0.0469 0.152)
OKLCHoklch(95.41% 0.159 107.1)
XYZxyz(76.1148, 88.3020, 27.2190)
Luminance0.8830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF76C #6C71FC
analogous
#FCAF6C #FCF76C #B9FC6C
triadic
#FCF76C #6CFCF7 #F76CFC
tetradic
#FCF76C #6CFCAF #6C71FC #FC6CB9
square
#FCF76C #6CFCAF #6C71FC #FC6CB9
split-complementary
#FCF76C #6CB9FC #AF6CFC
monochromatic
#E9E105 #FBF430 #FCF76C #FDFAA8 #FEFDE1

Accessibility & contrast

On white

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

On black

18.66
#FCF76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF76C
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF76C#FFFFFF#000000##000000
##FCF76C1.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5D
Deuteranopia (green-blind)
#FFF474
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fcf76c;
/* rgb */ color: rgb(252, 247, 108);
/* oklch */ color: oklch(95.4% 0.159 107.1);
Tailwind
colors: {
  custom: {
    50: '#fff99b',
    500: '#fcf76c',
    950: '#000000',
  },
}
SCSS
$custom: #fcf76c;
$custom-light: #fff99b;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf76c",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 108
  },
  "hsl": {
    "h": 57.917,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.95407,
    "c": 0.15902,
    "h": 107.1
  },
  "luminance": 0.883
}

Semantic roles & 50–950 ramp

primary
#FCF76C
secondary
#353AD7
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF76C

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

Preview Lab → · Contrast checker → · Palette generator →

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