#FCF86C#FCF86C

#FCF86C is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.6% C 0.160 H 107.5°. Best body text is #000000 at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#FCF86C
RGBrgb(252, 248, 108)
HSLhsl(58, 96%, 71%)
HSVhsv(58, 57%, 99%)
CMYKcmyk(0%, 1.6%, 57.1%, 1.2%)
CIE-LABlab(95.55, -15.86, 66.17)
CIE-LCHlch(95.55, 68.05, 103.48°)
OKLaboklab(95.61% -0.0482 0.1526)
OKLCHoklch(95.61% 0.16 107.5)
XYZxyz(76.4214, 88.9152, 27.3212)
Luminance0.8891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF86C #6C70FC
analogous
#FCB06C #FCF86C #B8FC6C
triadic
#FCF86C #6CFCF8 #F86CFC
tetradic
#FCF86C #6CFCB0 #6C70FC #FC6CB8
square
#FCF86C #6CFCB0 #6C70FC #FC6CB8
split-complementary
#FCF86C #6CB8FC #B06CFC
monochromatic
#E9E305 #FBF530 #FCF86C #FDFBA8 #FEFEE1

Accessibility & contrast

On white

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

On black

18.78
#FCF86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF86C
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF86C#FFFFFF#000000##000000
##FCF86C1.001.1218.7818.78
#FFFFFF1.121.0021.0021.00
#00000018.7821.001.001.00
##00000018.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF5D
Deuteranopia (green-blind)
#FFF574
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf86c;
/* rgb */ color: rgb(252, 248, 108);
/* oklch */ color: oklch(95.6% 0.160 107.5);
Tailwind
colors: {
  custom: {
    50: '#fffa9b',
    500: '#fcf86c',
    950: '#000000',
  },
}
SCSS
$custom: #fcf86c;
$custom-light: #fffa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf86c",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 108
  },
  "hsl": {
    "h": 58.333,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.95611,
    "c": 0.16002,
    "h": 107.5
  },
  "luminance": 0.88913
}

Semantic roles & 50–950 ramp

primary
#FCF86C
secondary
#3539D7
accent
#06E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF86C

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

Preview Lab → · Contrast checker → · Palette generator →

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