#FCF286#FCF286

#FCF286 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.7% C 0.130 H 103.9°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#FCF286
RGBrgb(252, 242, 134)
HSLhsl(55, 95%, 76%)
HSVhsv(55, 47%, 99%)
CMYKcmyk(0%, 4%, 46.8%, 1.2%)
CIE-LABlab(94.28, -10.85, 52.98)
CIE-LCHlch(94.28, 54.08, 101.57°)
OKLaboklab(94.69% -0.0313 0.1265)
OKLCHoklch(94.69% 0.13 103.9)
XYZxyz(76.2020, 85.9232, 35.1204)
Luminance0.8592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF286 #8690FC
analogous
#FCB786 #FCF286 #CBFC86
triadic
#FCF286 #86FCF2 #F286FC
tetradic
#FCF286 #86FCB7 #8690FC #FC86CB
square
#FCF286 #86FCB7 #8690FC #FC86CB
split-complementary
#FCF286 #86CBFC #B786FC
monochromatic
#F9E50F #FBEC4A #FCF286 #FDF8C2 #FEFCE1

Accessibility & contrast

On white

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

On black

18.18
#FCF286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF286
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF286#FFFFFF#000000##000000
##FCF2861.001.1518.1818.18
#FFFFFF1.151.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7D
Deuteranopia (green-blind)
#FFF18B
Tritanopia (blue-blind)
#FFE5D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf286;
/* rgb */ color: rgb(252, 242, 134);
/* oklch */ color: oklch(94.7% 0.130 103.9);
Tailwind
colors: {
  custom: {
    50: '#fff6ab',
    500: '#fcf286',
    950: '#000000',
  },
}
SCSS
$custom: #fcf286;
$custom-light: #fff6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf286",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 134
  },
  "hsl": {
    "h": 54.915,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.94692,
    "c": 0.13029,
    "h": 103.9
  },
  "luminance": 0.85921
}

Semantic roles & 50–950 ramp

primary
#FCF286
secondary
#4B57DB
accent
#13E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF286

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

Preview Lab → · Contrast checker → · Palette generator →

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