#FCF87A#FCF87A

#FCF87A is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.8% C 0.148 H 107.2°. Best body text is #000000 at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#FCF87A
RGBrgb(252, 248, 122)
HSLhsl(58, 96%, 73%)
HSVhsv(58, 52%, 99%)
CMYKcmyk(0%, 1.6%, 51.6%, 1.2%)
CIE-LABlab(95.68, -14.81, 60.18)
CIE-LCHlch(95.68, 61.98, 103.83°)
OKLaboklab(95.76% -0.0438 0.1412)
OKLCHoklch(95.76% 0.148 107.2)
XYZxyz(77.2272, 89.2375, 31.5650)
Luminance0.8923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF87A #7A7EFC
analogous
#FCB77A #FCF87A #BFFC7A
triadic
#FCF87A #7AFCF8 #F87AFC
tetradic
#FCF87A #7AFCB7 #7A7EFC #FC7ABF
square
#FCF87A #7AFCB7 #7A7EFC #FC7ABF
split-complementary
#FCF87A #7ABFFC #B77AFC
monochromatic
#F6EF06 #FBF53E #FCF87A #FDFBB6 #FEFDE1

Accessibility & contrast

On white

1.11
#FCF87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.85
#FCF87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF87A
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF87A#FFFFFF#000000##000000
##FCF87A1.001.1118.8518.85
#FFFFFF1.111.0021.0021.00
#00000018.8521.001.001.00
##00000018.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06E
Deuteranopia (green-blind)
#FFF580
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fcf87a;
/* rgb */ color: rgb(252, 248, 122);
/* oklch */ color: oklch(95.8% 0.148 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffaa4',
    500: '#fcf87a',
    950: '#000000',
  },
}
SCSS
$custom: #fcf87a;
$custom-light: #fffaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf87a",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 58.154,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.95762,
    "c": 0.14786,
    "h": 107.2
  },
  "luminance": 0.89235
}

Semantic roles & 50–950 ramp

primary
#FCF87A
secondary
#4146D9
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF87A

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

Preview Lab → · Contrast checker → · Palette generator →

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