#FCDF87#FCDF87

#FCDF87 is a very light, moderate yellow. Relative luminance 0.752; OKLCH L 90.9% C 0.112 H 91.8°. Best body text is #000000 at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#FCDF87
RGBrgb(252, 223, 135)
HSLhsl(45, 95%, 76%)
HSVhsv(45, 46%, 99%)
CMYKcmyk(0%, 11.5%, 46.4%, 1.2%)
CIE-LABlab(89.50, -1.25, 46.60)
CIE-LCHlch(89.50, 46.62, 91.54°)
OKLaboklab(90.91% -0.0035 0.1124)
OKLCHoklch(90.91% 0.112 91.8)
XYZxyz(70.9079, 75.2230, 33.7014)
Luminance0.7522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCDF87 #87A4FC
analogous
#FCA487 #FCDF87 #DEFC87
triadic
#FCDF87 #87FCDF #DF87FC
tetradic
#FCDF87 #87FCA4 #87A4FC #FC87DE
square
#FCDF87 #87FCA4 #87A4FC #FC87DE
split-complementary
#FCDF87 #87DEFC #A487FC
monochromatic
#F9BF10 #FBCF4B #FCDF87 #FDEFC3 #FEF7E1

Accessibility & contrast

On white

1.31
#FCDF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.04
#FCDF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCDF87
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCDF87#FFFFFF#000000##000000
##FCDF871.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC80
Deuteranopia (green-blind)
#F8E58A
Tritanopia (blue-blind)
#FFD2CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #fcdf87;
/* rgb */ color: rgb(252, 223, 135);
/* oklch */ color: oklch(90.9% 0.112 91.8);
Tailwind
colors: {
  custom: {
    50: '#ffe8ab',
    500: '#fcdf87',
    950: '#000000',
  },
}
SCSS
$custom: #fcdf87;
$custom-light: #ffe8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fcdf87",
  "rgb": {
    "r": 252,
    "g": 223,
    "b": 135
  },
  "hsl": {
    "h": 45.128,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.9091,
    "c": 0.11241,
    "h": 91.8
  },
  "luminance": 0.7522
}

Semantic roles & 50–950 ramp

primary
#FCDF87
secondary
#4C70DB
accent
#39E600
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FCDF87

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

Preview Lab → · Contrast checker → · Palette generator →

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