#FCF877#FCF877

#FCF877 is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.7% C 0.151 H 107.3°. Best body text is #000000 at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#FCF877
RGBrgb(252, 248, 119)
HSLhsl(58, 96%, 73%)
HSVhsv(58, 53%, 99%)
CMYKcmyk(0%, 1.6%, 52.8%, 1.2%)
CIE-LABlab(95.65, -15.05, 61.49)
CIE-LCHlch(95.65, 63.31, 103.75°)
OKLaboklab(95.73% -0.0448 0.1438)
OKLCHoklch(95.73% 0.151 107.3)
XYZxyz(77.0442, 89.1643, 30.6012)
Luminance0.8916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF877 #777BFC
analogous
#FCB577 #FCF877 #BEFC77
triadic
#FCF877 #77FCF8 #F877FC
tetradic
#FCF877 #77FCB5 #777BFC #FC77BE
square
#FCF877 #77FCB5 #777BFC #FC77BE
split-complementary
#FCF877 #77BEFC #B577FC
monochromatic
#F3EC05 #FBF53B #FCF877 #FDFBB3 #FEFDE1

Accessibility & contrast

On white

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

On black

18.83
#FCF877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF877
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF877#FFFFFF#000000##000000
##FCF8771.001.1218.8318.83
#FFFFFF1.121.0021.0021.00
#00000018.8321.001.001.00
##00000018.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf877;
/* rgb */ color: rgb(252, 248, 119);
/* oklch */ color: oklch(95.7% 0.151 107.3);
Tailwind
colors: {
  custom: {
    50: '#fffaa2',
    500: '#fcf877',
    950: '#000000',
  },
}
SCSS
$custom: #fcf877;
$custom-light: #fffaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf877",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 119
  },
  "hsl": {
    "h": 58.195,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.95728,
    "c": 0.15057,
    "h": 107.3
  },
  "luminance": 0.89162
}

Semantic roles & 50–950 ramp

primary
#FCF877
secondary
#3E43D9
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF877

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

Preview Lab → · Contrast checker → · Palette generator →

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