#FCF486#FCF486

#FCF486 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 95.1% C 0.132 H 104.9°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#FCF486
RGBrgb(252, 244, 134)
HSLhsl(56, 95%, 76%)
HSVhsv(56, 47%, 99%)
CMYKcmyk(0%, 3.2%, 46.8%, 1.2%)
CIE-LABlab(94.79, -11.83, 53.60)
CIE-LCHlch(94.79, 54.89, 102.45°)
OKLaboklab(95.1% -0.0341 0.1279)
OKLCHoklch(95.1% 0.132 104.9)
XYZxyz(76.8005, 87.1202, 35.3199)
Luminance0.8712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF486 #868EFC
analogous
#FCB986 #FCF486 #C9FC86
triadic
#FCF486 #86FCF4 #F486FC
tetradic
#FCF486 #86FCB9 #868EFC #FC86C9
square
#FCF486 #86FCB9 #868EFC #FC86C9
split-complementary
#FCF486 #86C9FC #B986FC
monochromatic
#F9E90F #FBEF4A #FCF486 #FDF9C2 #FEFCE1

Accessibility & contrast

On white

1.14
#FCF486 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.42
#FCF486 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF486
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF486#FFFFFF#000000##000000
##FCF4861.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7D
Deuteranopia (green-blind)
#FFF38B
Tritanopia (blue-blind)
#FFE7DA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fcf486;
/* rgb */ color: rgb(252, 244, 134);
/* oklch */ color: oklch(95.1% 0.132 104.9);
Tailwind
colors: {
  custom: {
    50: '#fff7ab',
    500: '#fcf486',
    950: '#000000',
  },
}
SCSS
$custom: #fcf486;
$custom-light: #fff7ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf486",
  "rgb": {
    "r": 252,
    "g": 244,
    "b": 134
  },
  "hsl": {
    "h": 55.932,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.95097,
    "c": 0.13232,
    "h": 104.9
  },
  "luminance": 0.87118
}

Semantic roles & 50–950 ramp

primary
#FCF486
secondary
#4B55DB
accent
#10E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF486

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

Preview Lab → · Contrast checker → · Palette generator →

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