#FCF186#FCF186

#FCF186 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.5% C 0.129 H 103.4°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#FCF186
RGBrgb(252, 241, 134)
HSLhsl(54, 95%, 76%)
HSVhsv(54, 47%, 99%)
CMYKcmyk(0%, 4.4%, 46.8%, 1.2%)
CIE-LABlab(94.03, -10.36, 52.67)
CIE-LCHlch(94.03, 53.67, 101.12°)
OKLaboklab(94.49% -0.0299 0.1258)
OKLCHoklch(94.49% 0.129 103.4)
XYZxyz(75.9052, 85.3296, 35.0215)
Luminance0.8533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF186 #8691FC
analogous
#FCB686 #FCF186 #CCFC86
triadic
#FCF186 #86FCF1 #F186FC
tetradic
#FCF186 #86FCB6 #8691FC #FC86CC
square
#FCF186 #86FCB6 #8691FC #FC86CC
split-complementary
#FCF186 #86CCFC #B686FC
monochromatic
#F9E30F #FBEA4A #FCF186 #FDF8C2 #FEFCE1

Accessibility & contrast

On white

1.16
#FCF186 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.07
#FCF186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF186
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF186#FFFFFF#000000##000000
##FCF1861.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7D
Deuteranopia (green-blind)
#FFF18B
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcf186;
/* rgb */ color: rgb(252, 241, 134);
/* oklch */ color: oklch(94.5% 0.129 103.4);
Tailwind
colors: {
  custom: {
    50: '#fff5ab',
    500: '#fcf186',
    950: '#000000',
  },
}
SCSS
$custom: #fcf186;
$custom-light: #fff5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf186",
  "rgb": {
    "r": 252,
    "g": 241,
    "b": 134
  },
  "hsl": {
    "h": 54.407,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.9449,
    "c": 0.12929,
    "h": 103.4
  },
  "luminance": 0.85327
}

Semantic roles & 50–950 ramp

primary
#FCF186
secondary
#4B59DB
accent
#15E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF186

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

Preview Lab → · Contrast checker → · Palette generator →

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