#FCF77F#FCF77F

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

Color values

HEX#FCF77F
RGBrgb(252, 247, 127)
HSLhsl(58, 95%, 74%)
HSVhsv(58, 50%, 99%)
CMYKcmyk(0%, 2%, 49.6%, 1.2%)
CIE-LABlab(95.48, -13.91, 57.67)
CIE-LCHlch(95.48, 59.33, 103.56°)
OKLaboklab(95.62% -0.0407 0.1362)
OKLCHoklch(95.62% 0.142 106.7)
XYZxyz(77.2384, 88.7514, 33.1366)
Luminance0.8875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF77F #7F84FC
analogous
#FCB97F #FCF77F #C3FC7F
triadic
#FCF77F #7FFCF7 #F77FFC
tetradic
#FCF77F #7FFCB9 #7F84FC #FC7FC3
square
#FCF77F #7FFCB9 #7F84FC #FC7FC3
split-complementary
#FCF77F #7FC3FC #B97FFC
monochromatic
#F9F007 #FBF343 #FCF77F #FDFBBB #FEFDE1

Accessibility & contrast

On white

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

On black

18.75
#FCF77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF77F
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF77F#FFFFFF#000000##000000
##FCF77F1.001.1218.7518.75
#FFFFFF1.121.0021.0021.00
#00000018.7521.001.001.00
##00000018.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF74
Deuteranopia (green-blind)
#FFF485
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf77f;
/* rgb */ color: rgb(252, 247, 127);
/* oklch */ color: oklch(95.6% 0.142 106.7);
Tailwind
colors: {
  custom: {
    50: '#fff9a7',
    500: '#fcf77f',
    950: '#000000',
  },
}
SCSS
$custom: #fcf77f;
$custom-light: #fff9a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf77f",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 127
  },
  "hsl": {
    "h": 57.6,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.95617,
    "c": 0.14218,
    "h": 106.7
  },
  "luminance": 0.88749
}

Semantic roles & 50–950 ramp

primary
#FCF77F
secondary
#454BDA
accent
#09E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FCF77F

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

Preview Lab → · Contrast checker → · Palette generator →

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