#FCF86E#FCF86E

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

Color values

HEX#FCF86E
RGBrgb(252, 248, 110)
HSLhsl(58, 96%, 71%)
HSVhsv(58, 56%, 99%)
CMYKcmyk(0%, 1.6%, 56.3%, 1.2%)
CIE-LABlab(95.56, -15.72, 65.34)
CIE-LCHlch(95.56, 67.20, 103.53°)
OKLaboklab(95.63% -0.0476 0.151)
OKLCHoklch(95.63% 0.158 107.5)
XYZxyz(76.5290, 88.9583, 27.8882)
Luminance0.8896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF86E #6E72FC
analogous
#FCB16E #FCF86E #B9FC6E
triadic
#FCF86E #6EFCF8 #F86EFC
tetradic
#FCF86E #6EFCB1 #6E72FC #FC6EB9
square
#FCF86E #6EFCB1 #6E72FC #FC6EB9
split-complementary
#FCF86E #6EB9FC #B16EFC
monochromatic
#EBE405 #FBF532 #FCF86E #FDFBAA #FEFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF86E#FFFFFF#000000##000000
##FCF86E1.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)
#FFEF5F
Deuteranopia (green-blind)
#FFF576
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf86e;
/* rgb */ color: rgb(252, 248, 110);
/* oklch */ color: oklch(95.6% 0.158 107.5);
Tailwind
colors: {
  custom: {
    50: '#fffa9c',
    500: '#fcf86e',
    950: '#000000',
  },
}
SCSS
$custom: #fcf86e;
$custom-light: #fffa9c;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf86e",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 110
  },
  "hsl": {
    "h": 58.31,
    "s": 95.946,
    "l": 70.98
  },
  "oklch": {
    "l": 0.95631,
    "c": 0.15836,
    "h": 107.5
  },
  "luminance": 0.88956
}

Semantic roles & 50–950 ramp

primary
#FCF86E
secondary
#373BD8
accent
#06E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF86E

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

Preview Lab → · Contrast checker → · Palette generator →

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