#FCE387#FCE387

#FCE387 is a very light, moderate yellow. Relative luminance 0.774; OKLCH L 91.7% C 0.116 H 94.6°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#FCE387
RGBrgb(252, 227, 135)
HSLhsl(47, 95%, 76%)
HSVhsv(47, 46%, 99%)
CMYKcmyk(0%, 9.9%, 46.4%, 1.2%)
CIE-LABlab(90.50, -3.28, 47.85)
CIE-LCHlch(90.50, 47.96, 93.92°)
OKLaboklab(91.7% -0.0093 0.1152)
OKLCHoklch(91.7% 0.116 94.6)
XYZxyz(71.9893, 77.3857, 34.0619)
Luminance0.7738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE387 #87A0FC
analogous
#FCA887 #FCE387 #DBFC87
triadic
#FCE387 #87FCE3 #E387FC
tetradic
#FCE387 #87FCA8 #87A0FC #FC87DB
square
#FCE387 #87FCA8 #87A0FC #FC87DB
split-complementary
#FCE387 #87DBFC #A887FC
monochromatic
#F9C710 #FBD54B #FCE387 #FDF1C3 #FEF8E1

Accessibility & contrast

On white

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

On black

16.48
#FCE387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE387
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE387#FFFFFF#000000##000000
##FCE3871.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF80
Deuteranopia (green-blind)
#FBE78B
Tritanopia (blue-blind)
#FFD6CD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #fce387;
/* rgb */ color: rgb(252, 227, 135);
/* oklch */ color: oklch(91.7% 0.116 94.6);
Tailwind
colors: {
  custom: {
    50: '#ffebab',
    500: '#fce387',
    950: '#000000',
  },
}
SCSS
$custom: #fce387;
$custom-light: #ffebab;
$custom-dark: #000000;
JSON
{
  "hex": "#fce387",
  "rgb": {
    "r": 252,
    "g": 227,
    "b": 135
  },
  "hsl": {
    "h": 47.179,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.91701,
    "c": 0.11553,
    "h": 94.6
  },
  "luminance": 0.77383
}

Semantic roles & 50–950 ramp

primary
#FCE387
secondary
#4C6BDB
accent
#31E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FCE387

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

Preview Lab → · Contrast checker → · Palette generator →

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