#FCE87D#FCE87D

#FCE87D is a very light, vivid yellow. Relative luminance 0.799; OKLCH L 92.6% C 0.130 H 98.9°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#FCE87D
RGBrgb(252, 232, 125)
HSLhsl(51, 95%, 74%)
HSVhsv(51, 50%, 99%)
CMYKcmyk(0%, 7.9%, 50.4%, 1.2%)
CIE-LABlab(91.64, -6.67, 54.02)
CIE-LCHlch(91.64, 54.43, 97.04°)
OKLaboklab(92.56% -0.0202 0.1281)
OKLCHoklch(92.56% 0.13 98.9)
XYZxyz(72.7054, 79.8921, 30.9890)
Luminance0.7989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE87D #7D91FC
analogous
#FCA97D #FCE87D #D1FC7D
triadic
#FCE87D #7DFCE8 #E87DFC
tetradic
#FCE87D #7DFCA9 #7D91FC #FC7DD1
square
#FCE87D #7DFCA9 #7D91FC #FC7DD1
split-complementary
#FCE87D #7DD1FC #A97DFC
monochromatic
#F9D306 #FBDD41 #FCE87D #FDF3B9 #FEFAE1

Accessibility & contrast

On white

1.24
#FCE87D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.98
#FCE87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE87D
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE87D#FFFFFF#000000##000000
##FCE87D1.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE374
Deuteranopia (green-blind)
#FFEA82
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fce87d;
/* rgb */ color: rgb(252, 232, 125);
/* oklch */ color: oklch(92.6% 0.130 98.9);
Tailwind
colors: {
  custom: {
    50: '#ffefa5',
    500: '#fce87d',
    950: '#000000',
  },
}
SCSS
$custom: #fce87d;
$custom-light: #ffefa5;
$custom-dark: #000000;
JSON
{
  "hex": "#fce87d",
  "rgb": {
    "r": 252,
    "g": 232,
    "b": 125
  },
  "hsl": {
    "h": 50.551,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92562,
    "c": 0.12965,
    "h": 98.9
  },
  "luminance": 0.79889
}

Semantic roles & 50–950 ramp

primary
#FCE87D
secondary
#435BDA
accent
#24E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FCE87D

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

Preview Lab → · Contrast checker → · Palette generator →

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