#FCF76D#FCF76D

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

Color values

HEX#FCF76D
RGBrgb(252, 247, 109)
HSLhsl(58, 96%, 71%)
HSVhsv(58, 57%, 99%)
CMYKcmyk(0%, 2%, 56.7%, 1.2%)
CIE-LABlab(95.30, -15.30, 65.47)
CIE-LCHlch(95.30, 67.23, 103.16°)
OKLaboklab(95.42% -0.0466 0.1512)
OKLCHoklch(95.42% 0.158 107.1)
XYZxyz(76.1683, 88.3234, 27.5009)
Luminance0.8832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF76D #6D72FC
analogous
#FCAF6D #FCF76D #B9FC6D
triadic
#FCF76D #6DFCF7 #F76DFC
tetradic
#FCF76D #6DFCAF #6D72FC #FC6DB9
square
#FCF76D #6DFCAF #6D72FC #FC6DB9
split-complementary
#FCF76D #6DB9FC #AF6DFC
monochromatic
#EAE205 #FBF431 #FCF76D #FDFAA9 #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF76D#FFFFFF#000000##000000
##FCF76D1.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)
#FFEE5E
Deuteranopia (green-blind)
#FFF475
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fcf76d;
/* rgb */ color: rgb(252, 247, 109);
/* oklch */ color: oklch(95.4% 0.158 107.1);
Tailwind
colors: {
  custom: {
    50: '#fff99b',
    500: '#fcf76d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf76d;
$custom-light: #fff99b;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf76d",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 109
  },
  "hsl": {
    "h": 57.902,
    "s": 95.973,
    "l": 70.784
  },
  "oklch": {
    "l": 0.95417,
    "c": 0.1582,
    "h": 107.1
  },
  "luminance": 0.88321
}

Semantic roles & 50–950 ramp

primary
#FCF76D
secondary
#363BD7
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF76D

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

Preview Lab → · Contrast checker → · Palette generator →

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