#FCF77D#FCF77D

#FCF77D is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.6% C 0.144 H 106.7°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#FCF77D
RGBrgb(252, 247, 125)
HSLhsl(58, 95%, 74%)
HSVhsv(58, 50%, 99%)
CMYKcmyk(0%, 2%, 50.4%, 1.2%)
CIE-LABlab(95.45, -14.08, 58.56)
CIE-LCHlch(95.45, 60.23, 103.52°)
OKLaboklab(95.59% -0.0414 0.138)
OKLCHoklch(95.59% 0.144 106.7)
XYZxyz(77.1093, 88.6998, 32.4569)
Luminance0.8870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF77D #7D82FC
analogous
#FCB87D #FCF77D #C2FC7D
triadic
#FCF77D #7DFCF7 #F77DFC
tetradic
#FCF77D #7DFCB8 #7D82FC #FC7DC2
square
#FCF77D #7DFCB8 #7D82FC #FC7DC2
split-complementary
#FCF77D #7DC2FC #B87DFC
monochromatic
#F9EF06 #FBF341 #FCF77D #FDFBB9 #FEFDE1

Accessibility & contrast

On white

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

On black

18.74
#FCF77D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF77D
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF77D#FFFFFF#000000##000000
##FCF77D1.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF72
Deuteranopia (green-blind)
#FFF483
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf77d;
/* rgb */ color: rgb(252, 247, 125);
/* oklch */ color: oklch(95.6% 0.144 106.7);
Tailwind
colors: {
  custom: {
    50: '#fff9a5',
    500: '#fcf77d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf77d;
$custom-light: #fff9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf77d",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 125
  },
  "hsl": {
    "h": 57.638,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.95593,
    "c": 0.14406,
    "h": 106.7
  },
  "luminance": 0.88698
}

Semantic roles & 50–950 ramp

primary
#FCF77D
secondary
#4349DA
accent
#09E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF77D

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

Preview Lab → · Contrast checker → · Palette generator →

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