#FCF76F#FCF76F

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

Color values

HEX#FCF76F
RGBrgb(252, 247, 111)
HSLhsl(58, 96%, 71%)
HSVhsv(58, 56%, 99%)
CMYKcmyk(0%, 2%, 56%, 1.2%)
CIE-LABlab(95.32, -15.16, 64.63)
CIE-LCHlch(95.32, 66.38, 103.20°)
OKLaboklab(95.44% -0.0459 0.1496)
OKLCHoklch(95.44% 0.157 107.1)
XYZxyz(76.2772, 88.3669, 28.0743)
Luminance0.8837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF76F #6F74FC
analogous
#FCB06F #FCF76F #BAFC6F
triadic
#FCF76F #6FFCF7 #F76FFC
tetradic
#FCF76F #6FFCB0 #6F74FC #FC6FBA
square
#FCF76F #6FFCB0 #6F74FC #FC6FBA
split-complementary
#FCF76F #6FBAFC #B06FFC
monochromatic
#ECE405 #FBF433 #FCF76F #FDFAAB #FEFDE1

Accessibility & contrast

On white

1.12
#FCF76F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.67
#FCF76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF76F
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF76F#FFFFFF#000000##000000
##FCF76F1.001.1218.6718.67
#FFFFFF1.121.0021.0021.00
#00000018.6721.001.001.00
##00000018.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf76f;
/* rgb */ color: rgb(252, 247, 111);
/* oklch */ color: oklch(95.4% 0.157 107.1);
Tailwind
colors: {
  custom: {
    50: '#fff99d',
    500: '#fcf76f',
    950: '#000000',
  },
}
SCSS
$custom: #fcf76f;
$custom-light: #fff99d;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf76f",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 111
  },
  "hsl": {
    "h": 57.872,
    "s": 95.918,
    "l": 71.176
  },
  "oklch": {
    "l": 0.95437,
    "c": 0.15652,
    "h": 107.1
  },
  "luminance": 0.88365
}

Semantic roles & 50–950 ramp

primary
#FCF76F
secondary
#373DD8
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF76F

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

Preview Lab → · Contrast checker → · Palette generator →

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