#FCF772#FCF772

#FCF772 is a very light, vivid yellow. Relative luminance 0.884; OKLCH L 95.5% C 0.154 H 107.0°. Best body text is #000000 at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#FCF772
RGBrgb(252, 247, 114)
HSLhsl(58, 96%, 72%)
HSVhsv(58, 55%, 99%)
CMYKcmyk(0%, 2%, 54.8%, 1.2%)
CIE-LABlab(95.34, -14.94, 63.35)
CIE-LCHlch(95.34, 65.09, 103.27°)
OKLaboklab(95.47% -0.045 0.1472)
OKLCHoklch(95.47% 0.154 107)
XYZxyz(76.4451, 88.4341, 28.9589)
Luminance0.8843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF772 #7277FC
analogous
#FCB272 #FCF772 #BCFC72
triadic
#FCF772 #72FCF7 #F772FC
tetradic
#FCF772 #72FCB2 #7277FC #FC72BC
square
#FCF772 #72FCB2 #7277FC #FC72BC
split-complementary
#FCF772 #72BCFC #B272FC
monochromatic
#EFE605 #FBF436 #FCF772 #FDFAAE #FEFDE1

Accessibility & contrast

On white

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

On black

18.69
#FCF772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF772
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF772#FFFFFF#000000##000000
##FCF7721.001.1218.6918.69
#FFFFFF1.121.0021.0021.00
#00000018.6921.001.001.00
##00000018.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF64
Deuteranopia (green-blind)
#FFF479
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf772;
/* rgb */ color: rgb(252, 247, 114);
/* oklch */ color: oklch(95.5% 0.154 107.0);
Tailwind
colors: {
  custom: {
    50: '#fff99e',
    500: '#fcf772',
    950: '#000000',
  },
}
SCSS
$custom: #fcf772;
$custom-light: #fff99e;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf772",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 114
  },
  "hsl": {
    "h": 57.826,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95469,
    "c": 0.15396,
    "h": 107
  },
  "luminance": 0.88432
}

Semantic roles & 50–950 ramp

primary
#FCF772
secondary
#3A40D8
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF772

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

Preview Lab → · Contrast checker → · Palette generator →

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