#FCF585#FCF585

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

Color values

HEX#FCF585
RGBrgb(252, 245, 133)
HSLhsl(56, 95%, 75%)
HSVhsv(56, 47%, 99%)
CMYKcmyk(0%, 2.8%, 47.2%, 1.2%)
CIE-LABlab(95.03, -12.41, 54.36)
CIE-LCHlch(95.03, 55.76, 102.86°)
OKLaboklab(95.29% -0.0359 0.1295)
OKLCHoklch(95.29% 0.134 105.5)
XYZxyz(77.0328, 87.6959, 35.0549)
Luminance0.8769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF585 #858CFC
analogous
#FCBA85 #FCF585 #C7FC85
triadic
#FCF585 #85FCF5 #F585FC
tetradic
#FCF585 #85FCBA #858CFC #FC85C7
square
#FCF585 #85FCBA #858CFC #FC85C7
split-complementary
#FCF585 #85C7FC #BA85FC
monochromatic
#F9EB0E #FBF049 #FCF585 #FDFAC1 #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF585#FFFFFF#000000##000000
##FCF5851.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)
#FFEE7B
Deuteranopia (green-blind)
#FFF38A
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fcf585;
/* rgb */ color: rgb(252, 245, 133);
/* oklch */ color: oklch(95.3% 0.134 105.5);
Tailwind
colors: {
  custom: {
    50: '#fff8ab',
    500: '#fcf585',
    950: '#000000',
  },
}
SCSS
$custom: #fcf585;
$custom-light: #fff8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf585",
  "rgb": {
    "r": 252,
    "g": 245,
    "b": 133
  },
  "hsl": {
    "h": 56.471,
    "s": 95.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.95287,
    "c": 0.13434,
    "h": 105.5
  },
  "luminance": 0.87694
}

Semantic roles & 50–950 ramp

primary
#FCF585
secondary
#4A53DB
accent
#0DE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF585

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

Preview Lab → · Contrast checker → · Palette generator →

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