#FCE987#FCE987

#FCE987 is a very light, vivid yellow. Relative luminance 0.807; OKLCH L 92.9% C 0.121 H 98.6°. Best body text is #000000 at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#FCE987
RGBrgb(252, 233, 135)
HSLhsl(50, 95%, 76%)
HSVhsv(50, 46%, 99%)
CMYKcmyk(0%, 7.5%, 46.4%, 1.2%)
CIE-LABlab(92.01, -6.29, 49.72)
CIE-LCHlch(92.01, 50.11, 97.21°)
OKLaboklab(92.9% -0.0181 0.1193)
OKLCHoklch(92.9% 0.121 98.6)
XYZxyz(73.6590, 80.7251, 34.6184)
Luminance0.8072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE987 #879AFC
analogous
#FCAE87 #FCE987 #D5FC87
triadic
#FCE987 #87FCE9 #E987FC
tetradic
#FCE987 #87FCAE #879AFC #FC87D5
square
#FCE987 #87FCAE #879AFC #FC87D5
split-complementary
#FCE987 #87D5FC #AE87FC
monochromatic
#F9D310 #FBDE4B #FCE987 #FDF4C3 #FEFAE1

Accessibility & contrast

On white

1.22
#FCE987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.14
#FCE987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE987
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE987#FFFFFF#000000##000000
##FCE9871.001.2217.1417.14
#FFFFFF1.221.0021.0021.00
#00000017.1421.001.001.00
##00000017.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE47F
Deuteranopia (green-blind)
#FFEB8B
Tritanopia (blue-blind)
#FFDCD2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #fce987;
/* rgb */ color: rgb(252, 233, 135);
/* oklch */ color: oklch(92.9% 0.121 98.6);
Tailwind
colors: {
  custom: {
    50: '#ffefac',
    500: '#fce987',
    950: '#000000',
  },
}
SCSS
$custom: #fce987;
$custom-light: #ffefac;
$custom-dark: #000000;
JSON
{
  "hex": "#fce987",
  "rgb": {
    "r": 252,
    "g": 233,
    "b": 135
  },
  "hsl": {
    "h": 50.256,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.92896,
    "c": 0.12068,
    "h": 98.6
  },
  "luminance": 0.80723
}

Semantic roles & 50–950 ramp

primary
#FCE987
secondary
#4C63DB
accent
#25E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FCE987

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

Preview Lab → · Contrast checker → · Palette generator →

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