#FCE787#FCE787

#FCE787 is a very light, moderate yellow. Relative luminance 0.796; OKLCH L 92.5% C 0.119 H 97.3°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#FCE787
RGBrgb(252, 231, 135)
HSLhsl(49, 95%, 76%)
HSVhsv(49, 46%, 99%)
CMYKcmyk(0%, 8.3%, 46.4%, 1.2%)
CIE-LABlab(91.50, -5.29, 49.10)
CIE-LCHlch(91.50, 49.38, 96.15°)
OKLaboklab(92.5% -0.0152 0.1179)
OKLCHoklch(92.5% 0.119 97.3)
XYZxyz(73.0960, 79.5992, 34.4308)
Luminance0.7960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE787 #879CFC
analogous
#FCAC87 #FCE787 #D6FC87
triadic
#FCE787 #87FCE7 #E787FC
tetradic
#FCE787 #87FCAC #879CFC #FC87D6
square
#FCE787 #87FCAC #879CFC #FC87D6
split-complementary
#FCE787 #87D6FC #AC87FC
monochromatic
#F9CF10 #FBDB4B #FCE787 #FDF3C3 #FEF9E1

Accessibility & contrast

On white

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

On black

16.92
#FCE787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE787
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE787#FFFFFF#000000##000000
##FCE7871.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E27F
Deuteranopia (green-blind)
#FEEA8B
Tritanopia (blue-blind)
#FFDAD0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fce787;
/* rgb */ color: rgb(252, 231, 135);
/* oklch */ color: oklch(92.5% 0.119 97.3);
Tailwind
colors: {
  custom: {
    50: '#ffeeab',
    500: '#fce787',
    950: '#000000',
  },
}
SCSS
$custom: #fce787;
$custom-light: #ffeeab;
$custom-dark: #000000;
JSON
{
  "hex": "#fce787",
  "rgb": {
    "r": 252,
    "g": 231,
    "b": 135
  },
  "hsl": {
    "h": 49.231,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.92497,
    "c": 0.1189,
    "h": 97.3
  },
  "luminance": 0.79597
}

Semantic roles & 50–950 ramp

primary
#FCE787
secondary
#4C66DB
accent
#29E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FCE787

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

Preview Lab → · Contrast checker → · Palette generator →

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