#FCE487#FCE487

#FCE487 is a very light, moderate yellow. Relative luminance 0.779; OKLCH L 91.9% C 0.116 H 95.3°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#FCE487
RGBrgb(252, 228, 135)
HSLhsl(48, 95%, 76%)
HSVhsv(48, 46%, 99%)
CMYKcmyk(0%, 9.5%, 46.4%, 1.2%)
CIE-LABlab(90.75, -3.78, 48.16)
CIE-LCHlch(90.75, 48.31, 94.49°)
OKLaboklab(91.9% -0.0108 0.1159)
OKLCHoklch(91.9% 0.116 95.3)
XYZxyz(72.2636, 77.9343, 34.1533)
Luminance0.7793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE487 #879FFC
analogous
#FCA987 #FCE487 #DAFC87
triadic
#FCE487 #87FCE4 #E487FC
tetradic
#FCE487 #87FCA9 #879FFC #FC87DA
square
#FCE487 #87FCA9 #879FFC #FC87DA
split-complementary
#FCE487 #87DAFC #A987FC
monochromatic
#F9C910 #FBD74B #FCE487 #FDF1C3 #FEF8E1

Accessibility & contrast

On white

1.27
#FCE487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#FCE487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE487
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE487#FFFFFF#000000##000000
##FCE4871.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E07F
Deuteranopia (green-blind)
#FCE88B
Tritanopia (blue-blind)
#FFD7CE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #fce487;
/* rgb */ color: rgb(252, 228, 135);
/* oklch */ color: oklch(91.9% 0.116 95.3);
Tailwind
colors: {
  custom: {
    50: '#ffecab',
    500: '#fce487',
    950: '#000000',
  },
}
SCSS
$custom: #fce487;
$custom-light: #ffecab;
$custom-dark: #000000;
JSON
{
  "hex": "#fce487",
  "rgb": {
    "r": 252,
    "g": 228,
    "b": 135
  },
  "hsl": {
    "h": 47.692,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.919,
    "c": 0.11635,
    "h": 95.3
  },
  "luminance": 0.77932
}

Semantic roles & 50–950 ramp

primary
#FCE487
secondary
#4C69DB
accent
#2FE600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FCE487

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

Preview Lab → · Contrast checker → · Palette generator →

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