#FCF386#FCF386

#FCF386 is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.9% C 0.131 H 104.4°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#FCF386
RGBrgb(252, 243, 134)
HSLhsl(55, 95%, 76%)
HSVhsv(55, 47%, 99%)
CMYKcmyk(0%, 3.6%, 46.8%, 1.2%)
CIE-LABlab(94.53, -11.34, 53.29)
CIE-LCHlch(94.53, 54.48, 102.02°)
OKLaboklab(94.89% -0.0327 0.1272)
OKLCHoklch(94.89% 0.131 104.4)
XYZxyz(76.5004, 86.5201, 35.2199)
Luminance0.8652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF386 #868FFC
analogous
#FCB886 #FCF386 #CAFC86
triadic
#FCF386 #86FCF3 #F386FC
tetradic
#FCF386 #86FCB8 #868FFC #FC86CA
square
#FCF386 #86FCB8 #868FFC #FC86CA
split-complementary
#FCF386 #86CAFC #B886FC
monochromatic
#F9E70F #FBED4A #FCF386 #FDF9C2 #FEFCE1

Accessibility & contrast

On white

1.15
#FCF386 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.30
#FCF386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF386
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF386#FFFFFF#000000##000000
##FCF3861.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7D
Deuteranopia (green-blind)
#FFF28B
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf386;
/* rgb */ color: rgb(252, 243, 134);
/* oklch */ color: oklch(94.9% 0.131 104.4);
Tailwind
colors: {
  custom: {
    50: '#fff6ab',
    500: '#fcf386',
    950: '#000000',
  },
}
SCSS
$custom: #fcf386;
$custom-light: #fff6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf386",
  "rgb": {
    "r": 252,
    "g": 243,
    "b": 134
  },
  "hsl": {
    "h": 55.424,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.94894,
    "c": 0.1313,
    "h": 104.4
  },
  "luminance": 0.86518
}

Semantic roles & 50–950 ramp

primary
#FCF386
secondary
#4B56DB
accent
#12E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF386

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

Preview Lab → · Contrast checker → · Palette generator →

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