#FCE371#FCE371

#FCE371 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.4% C 0.137 H 97.2°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#FCE371
RGBrgb(252, 227, 113)
HSLhsl(49, 96%, 72%)
HSVhsv(49, 55%, 99%)
CMYKcmyk(0%, 9.9%, 55.2%, 1.2%)
CIE-LABlab(90.24, -5.13, 57.95)
CIE-LCHlch(90.24, 58.17, 95.06°)
OKLaboklab(91.42% -0.017 0.1355)
OKLCHoklch(91.42% 0.137 97.2)
XYZxyz(70.5972, 76.8289, 26.7304)
Luminance0.7683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE371 #718AFC
analogous
#FC9E71 #FCE371 #CFFC71
triadic
#FCE371 #71FCE3 #E371FC
tetradic
#FCE371 #71FC9E #718AFC #FC71CF
square
#FCE371 #71FC9E #718AFC #FC71CF
split-complementary
#FCE371 #71CFFC #9E71FC
monochromatic
#EEC405 #FBD735 #FCE371 #FDEFAD #FEF9E1

Accessibility & contrast

On white

1.28
#FCE371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.37
#FCE371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE371
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE371#FFFFFF#000000##000000
##FCE3711.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE66
Deuteranopia (green-blind)
#FDE776
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #fce371;
/* rgb */ color: rgb(252, 227, 113);
/* oklch */ color: oklch(91.4% 0.137 97.2);
Tailwind
colors: {
  custom: {
    50: '#ffeb9d',
    500: '#fce371',
    950: '#000000',
  },
}
SCSS
$custom: #fce371;
$custom-light: #ffeb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fce371",
  "rgb": {
    "r": 252,
    "g": 227,
    "b": 113
  },
  "hsl": {
    "h": 49.209,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.91416,
    "c": 0.13654,
    "h": 97.2
  },
  "luminance": 0.76826
}

Semantic roles & 50–950 ramp

primary
#FCE371
secondary
#3956D8
accent
#29E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FCE371

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

Preview Lab → · Contrast checker → · Palette generator →

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