#FCF77A#FCF77A

#FCF77A is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.6% C 0.147 H 106.8°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#FCF77A
RGBrgb(252, 247, 122)
HSLhsl(58, 96%, 73%)
HSVhsv(58, 52%, 99%)
CMYKcmyk(0%, 2%, 51.6%, 1.2%)
CIE-LABlab(95.42, -14.32, 59.89)
CIE-LCHlch(95.42, 61.57, 103.45°)
OKLaboklab(95.56% -0.0424 0.1406)
OKLCHoklch(95.56% 0.147 106.8)
XYZxyz(76.9206, 88.6243, 31.4628)
Luminance0.8862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF77A #7A7FFC
analogous
#FCB67A #FCF77A #C0FC7A
triadic
#FCF77A #7AFCF7 #F77AFC
tetradic
#FCF77A #7AFCB6 #7A7FFC #FC7AC0
square
#FCF77A #7AFCB6 #7A7FFC #FC7AC0
split-complementary
#FCF77A #7AC0FC #B67AFC
monochromatic
#F6ED06 #FBF33E #FCF77A #FDFBB6 #FEFDE1

Accessibility & contrast

On white

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

On black

18.72
#FCF77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF77A
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF77A#FFFFFF#000000##000000
##FCF77A1.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6E
Deuteranopia (green-blind)
#FFF480
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf77a;
/* rgb */ color: rgb(252, 247, 122);
/* oklch */ color: oklch(95.6% 0.147 106.8);
Tailwind
colors: {
  custom: {
    50: '#fff9a4',
    500: '#fcf77a',
    950: '#000000',
  },
}
SCSS
$custom: #fcf77a;
$custom-light: #fff9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf77a",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 122
  },
  "hsl": {
    "h": 57.692,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.95558,
    "c": 0.14683,
    "h": 106.8
  },
  "luminance": 0.88622
}

Semantic roles & 50–950 ramp

primary
#FCF77A
secondary
#4147D9
accent
#09E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF77A

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

Preview Lab → · Contrast checker → · Palette generator →

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