#FCE587#FCE587

#FCE587 is a very light, moderate yellow. Relative luminance 0.785; OKLCH L 92.1% C 0.117 H 96.0°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#FCE587
RGBrgb(252, 229, 135)
HSLhsl(48, 95%, 76%)
HSVhsv(48, 46%, 99%)
CMYKcmyk(0%, 9.1%, 46.4%, 1.2%)
CIE-LABlab(91.00, -4.28, 48.47)
CIE-LCHlch(91.00, 48.66, 95.05°)
OKLaboklab(92.1% -0.0123 0.1165)
OKLCHoklch(92.1% 0.117 96)
XYZxyz(72.5395, 78.4861, 34.2453)
Luminance0.7848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE587 #879EFC
analogous
#FCAA87 #FCE587 #D8FC87
triadic
#FCE587 #87FCE5 #E587FC
tetradic
#FCE587 #87FCAA #879EFC #FC87D8
square
#FCE587 #87FCAA #879EFC #FC87D8
split-complementary
#FCE587 #87D8FC #AA87FC
monochromatic
#F9CB10 #FBD84B #FCE587 #FDF2C3 #FEF9E1

Accessibility & contrast

On white

1.26
#FCE587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.70
#FCE587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE587
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE587#FFFFFF#000000##000000
##FCE5871.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E17F
Deuteranopia (green-blind)
#FCE98B
Tritanopia (blue-blind)
#FFD8CE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #fce587;
/* rgb */ color: rgb(252, 229, 135);
/* oklch */ color: oklch(92.1% 0.117 96.0);
Tailwind
colors: {
  custom: {
    50: '#ffedab',
    500: '#fce587',
    950: '#000000',
  },
}
SCSS
$custom: #fce587;
$custom-light: #ffedab;
$custom-dark: #000000;
JSON
{
  "hex": "#fce587",
  "rgb": {
    "r": 252,
    "g": 229,
    "b": 135
  },
  "hsl": {
    "h": 48.205,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.92098,
    "c": 0.11718,
    "h": 96
  },
  "luminance": 0.78483
}

Semantic roles & 50–950 ramp

primary
#FCE587
secondary
#4C68DB
accent
#2DE600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FCE587

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

Preview Lab → · Contrast checker → · Palette generator →

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