#FCF86B#FCF86B

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

Color values

HEX#FCF86B
RGBrgb(252, 248, 107)
HSLhsl(58, 96%, 70%)
HSVhsv(58, 58%, 99%)
CMYKcmyk(0%, 1.6%, 57.5%, 1.2%)
CIE-LABlab(95.54, -15.93, 66.59)
CIE-LCHlch(95.54, 68.47, 103.45°)
OKLaboklab(95.6% -0.0486 0.1533)
OKLCHoklch(95.6% 0.161 107.6)
XYZxyz(76.3685, 88.8940, 27.0425)
Luminance0.8889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF86B #6B6FFC
analogous
#FCB06B #FCF86B #B7FC6B
triadic
#FCF86B #6BFCF8 #F86BFC
tetradic
#FCF86B #6BFCB0 #6B6FFC #FC6BB7
square
#FCF86B #6BFCB0 #6B6FFC #FC6BB7
split-complementary
#FCF86B #6BB7FC #B06BFC
monochromatic
#E8E205 #FBF52F #FCF86B #FDFBA7 #FEFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF86B#FFFFFF#000000##000000
##FCF86B1.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)
#FFEF5B
Deuteranopia (green-blind)
#FFF573
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf86b;
/* rgb */ color: rgb(252, 248, 107);
/* oklch */ color: oklch(95.6% 0.161 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffa9a',
    500: '#fcf86b',
    950: '#000000',
  },
}
SCSS
$custom: #fcf86b;
$custom-light: #fffa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf86b",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 107
  },
  "hsl": {
    "h": 58.345,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.95601,
    "c": 0.16083,
    "h": 107.6
  },
  "luminance": 0.88892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF86B

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

Preview Lab → · Contrast checker → · Palette generator →

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