#FCF86D#FCF86D

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

Color values

HEX#FCF86D
RGBrgb(252, 248, 109)
HSLhsl(58, 96%, 71%)
HSVhsv(58, 57%, 99%)
CMYKcmyk(0%, 1.6%, 56.7%, 1.2%)
CIE-LABlab(95.55, -15.79, 65.76)
CIE-LCHlch(95.55, 67.62, 103.50°)
OKLaboklab(95.62% -0.0479 0.1518)
OKLCHoklch(95.62% 0.159 107.5)
XYZxyz(76.4749, 88.9366, 27.6031)
Luminance0.8893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF86D #6D71FC
analogous
#FCB06D #FCF86D #B8FC6D
triadic
#FCF86D #6DFCF8 #F86DFC
tetradic
#FCF86D #6DFCB0 #6D71FC #FC6DB8
square
#FCF86D #6DFCB0 #6D71FC #FC6DB8
split-complementary
#FCF86D #6DB8FC #B06DFC
monochromatic
#EAE305 #FBF531 #FCF86D #FDFBA9 #FEFEE1

Accessibility & contrast

On white

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

On black

18.79
#FCF86D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF86D
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF86D#FFFFFF#000000##000000
##FCF86D1.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf86d;
/* rgb */ color: rgb(252, 248, 109);
/* oklch */ color: oklch(95.6% 0.159 107.5);
Tailwind
colors: {
  custom: {
    50: '#fffa9b',
    500: '#fcf86d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf86d;
$custom-light: #fffa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf86d",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 109
  },
  "hsl": {
    "h": 58.322,
    "s": 95.973,
    "l": 70.784
  },
  "oklch": {
    "l": 0.95621,
    "c": 0.15919,
    "h": 107.5
  },
  "luminance": 0.88934
}

Semantic roles & 50–950 ramp

primary
#FCF86D
secondary
#363AD7
accent
#06E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF86D

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

Preview Lab → · Contrast checker → · Palette generator →

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