#FCF77C#FCF77C

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

Color values

HEX#FCF77C
RGBrgb(252, 247, 124)
HSLhsl(58, 96%, 74%)
HSVhsv(58, 51%, 99%)
CMYKcmyk(0%, 2%, 50.8%, 1.2%)
CIE-LABlab(95.44, -14.16, 59.00)
CIE-LCHlch(95.44, 60.68, 103.50°)
OKLaboklab(95.58% -0.0418 0.1389)
OKLCHoklch(95.58% 0.145 106.7)
XYZxyz(77.0457, 88.6744, 32.1222)
Luminance0.8867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF77C #7C81FC
analogous
#FCB77C #FCF77C #C1FC7C
triadic
#FCF77C #7CFCF7 #F77CFC
tetradic
#FCF77C #7CFCB7 #7C81FC #FC7CC1
square
#FCF77C #7CFCB7 #7C81FC #FC7CC1
split-complementary
#FCF77C #7CC1FC #B77CFC
monochromatic
#F8EE06 #FBF340 #FCF77C #FDFBB8 #FEFDE1

Accessibility & contrast

On white

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

On black

18.73
#FCF77C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF77C
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF77C#FFFFFF#000000##000000
##FCF77C1.001.1218.7318.73
#FFFFFF1.121.0021.0021.00
#00000018.7321.001.001.00
##00000018.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf77c;
/* rgb */ color: rgb(252, 247, 124);
/* oklch */ color: oklch(95.6% 0.145 106.7);
Tailwind
colors: {
  custom: {
    50: '#fff9a5',
    500: '#fcf77c',
    950: '#000000',
  },
}
SCSS
$custom: #fcf77c;
$custom-light: #fff9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf77c",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 124
  },
  "hsl": {
    "h": 57.656,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.95581,
    "c": 0.14499,
    "h": 106.7
  },
  "luminance": 0.88672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF77C

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

Preview Lab → · Contrast checker → · Palette generator →

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