#FCF586#FCF586

#FCF586 is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.3% C 0.133 H 105.4°. Best body text is #000000 at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#FCF586
RGBrgb(252, 245, 134)
HSLhsl(56, 95%, 76%)
HSVhsv(56, 47%, 99%)
CMYKcmyk(0%, 2.8%, 46.8%, 1.2%)
CIE-LABlab(95.04, -12.32, 53.91)
CIE-LCHlch(95.04, 55.30, 102.88°)
OKLaboklab(95.3% -0.0355 0.1285)
OKLCHoklch(95.3% 0.133 105.4)
XYZxyz(77.1022, 87.7236, 35.4205)
Luminance0.8772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF586 #868DFC
analogous
#FCBA86 #FCF586 #C8FC86
triadic
#FCF586 #86FCF5 #F586FC
tetradic
#FCF586 #86FCBA #868DFC #FC86C8
square
#FCF586 #86FCBA #868DFC #FC86C8
split-complementary
#FCF586 #86C8FC #BA86FC
monochromatic
#F9EB0F #FBF04A #FCF586 #FDFAC2 #FEFDE1

Accessibility & contrast

On white

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

On black

18.54
#FCF586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF586
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF586#FFFFFF#000000##000000
##FCF5861.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7C
Deuteranopia (green-blind)
#FFF38B
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fcf586;
/* rgb */ color: rgb(252, 245, 134);
/* oklch */ color: oklch(95.3% 0.133 105.4);
Tailwind
colors: {
  custom: {
    50: '#fff8ab',
    500: '#fcf586',
    950: '#000000',
  },
}
SCSS
$custom: #fcf586;
$custom-light: #fff8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf586",
  "rgb": {
    "r": 252,
    "g": 245,
    "b": 134
  },
  "hsl": {
    "h": 56.441,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.953,
    "c": 0.13335,
    "h": 105.4
  },
  "luminance": 0.87721
}

Semantic roles & 50–950 ramp

primary
#FCF586
secondary
#4B54DB
accent
#0EE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF586

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

Preview Lab → · Contrast checker → · Palette generator →

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