#FCF976#FCF976

#FCF976 is a very light, vivid yellow. Relative luminance 0.898; OKLCH L 95.9% C 0.152 H 107.8°. Best body text is #000000 at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#FCF976
RGBrgb(252, 249, 118)
HSLhsl(59, 96%, 73%)
HSVhsv(59, 53%, 99%)
CMYKcmyk(0%, 1.2%, 53.2%, 1.2%)
CIE-LABlab(95.90, -15.61, 62.22)
CIE-LCHlch(95.90, 64.15, 104.08°)
OKLaboklab(95.92% -0.0465 0.1452)
OKLCHoklch(95.92% 0.152 107.8)
XYZxyz(77.2927, 89.7569, 30.3893)
Luminance0.8975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF976 #7679FC
analogous
#FCB676 #FCF976 #BCFC76
triadic
#FCF976 #76FCF9 #F976FC
tetradic
#FCF976 #76FCB6 #7679FC #FC76BC
square
#FCF976 #76FCB6 #7679FC #FC76BC
split-complementary
#FCF976 #76BCFC #B676FC
monochromatic
#F2ED05 #FBF63A #FCF976 #FDFCB2 #FEFEE1

Accessibility & contrast

On white

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

On black

18.95
#FCF976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF976
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF976#FFFFFF#000000##000000
##FCF9761.001.1118.9518.95
#FFFFFF1.111.0021.0021.00
#00000018.9521.001.001.00
##00000018.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF069
Deuteranopia (green-blind)
#FFF67D
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fcf976;
/* rgb */ color: rgb(252, 249, 118);
/* oklch */ color: oklch(95.9% 0.152 107.8);
Tailwind
colors: {
  custom: {
    50: '#fffba1',
    500: '#fcf976',
    950: '#000000',
  },
}
SCSS
$custom: #fcf976;
$custom-light: #fffba1;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf976",
  "rgb": {
    "r": 252,
    "g": 249,
    "b": 118
  },
  "hsl": {
    "h": 58.657,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.95921,
    "c": 0.15248,
    "h": 107.8
  },
  "luminance": 0.89755
}

Semantic roles & 50–950 ramp

primary
#FCF976
secondary
#3D41D9
accent
#05E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF976

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

Preview Lab → · Contrast checker → · Palette generator →

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