#FCF686#FCF686

#FCF686 is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.5% C 0.134 H 106.0°. Best body text is #000000 at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#FCF686
RGBrgb(252, 246, 134)
HSLhsl(57, 95%, 76%)
HSVhsv(57, 47%, 99%)
CMYKcmyk(0%, 2.4%, 46.8%, 1.2%)
CIE-LABlab(95.30, -12.81, 54.22)
CIE-LCHlch(95.30, 55.71, 103.30°)
OKLaboklab(95.5% -0.0369 0.1292)
OKLCHoklch(95.5% 0.134 106)
XYZxyz(77.4055, 88.3303, 35.5216)
Luminance0.8833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF686 #868CFC
analogous
#FCBB86 #FCF686 #C7FC86
triadic
#FCF686 #86FCF6 #F686FC
tetradic
#FCF686 #86FCBB #868CFC #FC86C7
square
#FCF686 #86FCBB #868CFC #FC86C7
split-complementary
#FCF686 #86C7FC #BB86FC
monochromatic
#F9ED0F #FBF24A #FCF686 #FDFAC2 #FEFDE1

Accessibility & contrast

On white

1.13
#FCF686 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.67
#FCF686 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF686
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF686#FFFFFF#000000##000000
##FCF6861.001.1318.6718.67
#FFFFFF1.131.0021.0021.00
#00000018.6721.001.001.00
##00000018.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF7C
Deuteranopia (green-blind)
#FFF48B
Tritanopia (blue-blind)
#FFE9DC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fcf686;
/* rgb */ color: rgb(252, 246, 134);
/* oklch */ color: oklch(95.5% 0.134 106.0);
Tailwind
colors: {
  custom: {
    50: '#fff9ab',
    500: '#fcf686',
    950: '#000000',
  },
}
SCSS
$custom: #fcf686;
$custom-light: #fff9ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf686",
  "rgb": {
    "r": 252,
    "g": 246,
    "b": 134
  },
  "hsl": {
    "h": 56.949,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.95503,
    "c": 0.13438,
    "h": 106
  },
  "luminance": 0.88328
}

Semantic roles & 50–950 ramp

primary
#FCF686
secondary
#4B53DB
accent
#0CE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF686

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

Preview Lab → · Contrast checker → · Palette generator →

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