#FCE971#FCE971

#FCE971 is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.6% C 0.142 H 100.4°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#FCE971
RGBrgb(252, 233, 113)
HSLhsl(52, 96%, 72%)
HSVhsv(52, 55%, 99%)
CMYKcmyk(0%, 7.5%, 55.2%, 1.2%)
CIE-LABlab(91.76, -8.13, 59.70)
CIE-LCHlch(91.76, 60.25, 97.75°)
OKLaboklab(92.62% -0.0256 0.1393)
OKLCHoklch(92.62% 0.142 100.4)
XYZxyz(72.2669, 80.1683, 27.2869)
Luminance0.8017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE971 #7184FC
analogous
#FCA471 #FCE971 #C9FC71
triadic
#FCE971 #71FCE9 #E971FC
tetradic
#FCE971 #71FCA4 #7184FC #FC71C9
square
#FCE971 #71FCA4 #7184FC #FC71C9
split-complementary
#FCE971 #71C9FC #A471FC
monochromatic
#EECE05 #FBE035 #FCE971 #FDF2AD #FEFAE1

Accessibility & contrast

On white

1.23
#FCE971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.03
#FCE971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE971
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE971#FFFFFF#000000##000000
##FCE9711.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE365
Deuteranopia (green-blind)
#FFEB77
Tritanopia (blue-blind)
#FFDBCE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fce971;
/* rgb */ color: rgb(252, 233, 113);
/* oklch */ color: oklch(92.6% 0.142 100.4);
Tailwind
colors: {
  custom: {
    50: '#ffef9d',
    500: '#fce971',
    950: '#000000',
  },
}
SCSS
$custom: #fce971;
$custom-light: #ffef9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fce971",
  "rgb": {
    "r": 252,
    "g": 233,
    "b": 113
  },
  "hsl": {
    "h": 51.799,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.92618,
    "c": 0.14161,
    "h": 100.4
  },
  "luminance": 0.80166
}

Semantic roles & 50–950 ramp

primary
#FCE971
secondary
#394FD8
accent
#1FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FCE971

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

Preview Lab → · Contrast checker → · Palette generator →

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