#FCF77E#FCF77E

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

Color values

HEX#FCF77E
RGBrgb(252, 247, 126)
HSLhsl(58, 95%, 74%)
HSVhsv(58, 50%, 99%)
CMYKcmyk(0%, 2%, 50%, 1.2%)
CIE-LABlab(95.47, -14.00, 58.12)
CIE-LCHlch(95.47, 59.78, 103.54°)
OKLaboklab(95.6% -0.0411 0.1371)
OKLCHoklch(95.6% 0.143 106.7)
XYZxyz(77.1735, 88.7255, 32.7951)
Luminance0.8872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF77E #7E83FC
analogous
#FCB87E #FCF77E #C2FC7E
triadic
#FCF77E #7EFCF7 #F77EFC
tetradic
#FCF77E #7EFCB8 #7E83FC #FC7EC2
square
#FCF77E #7EFCB8 #7E83FC #FC7EC2
split-complementary
#FCF77E #7EC2FC #B87EFC
monochromatic
#F9F006 #FBF342 #FCF77E #FDFBBA #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF77E#FFFFFF#000000##000000
##FCF77E1.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)
#FFEF73
Deuteranopia (green-blind)
#FFF484
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf77e;
/* rgb */ color: rgb(252, 247, 126);
/* oklch */ color: oklch(95.6% 0.143 106.7);
Tailwind
colors: {
  custom: {
    50: '#fff9a6',
    500: '#fcf77e',
    950: '#000000',
  },
}
SCSS
$custom: #fcf77e;
$custom-light: #fff9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf77e",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 126
  },
  "hsl": {
    "h": 57.619,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.95605,
    "c": 0.14313,
    "h": 106.7
  },
  "luminance": 0.88723
}

Semantic roles & 50–950 ramp

primary
#FCF77E
secondary
#444ADA
accent
#09E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FCF77E

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

Preview Lab → · Contrast checker → · Palette generator →

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