#FCE877#FCE877

#FCE877 is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 92.5% C 0.135 H 99.4°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#FCE877
RGBrgb(252, 232, 119)
HSLhsl(51, 96%, 73%)
HSVhsv(51, 53%, 99%)
CMYKcmyk(0%, 7.9%, 52.8%, 1.2%)
CIE-LABlab(91.57, -7.17, 56.74)
CIE-LCHlch(91.57, 57.19, 97.20°)
OKLaboklab(92.49% -0.0222 0.1335)
OKLCHoklch(92.49% 0.135 99.4)
XYZxyz(72.3337, 79.7434, 29.0310)
Luminance0.7974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE877 #778BFC
analogous
#FCA577 #FCE877 #CEFC77
triadic
#FCE877 #77FCE8 #E877FC
tetradic
#FCE877 #77FCA5 #778BFC #FC77CE
square
#FCE877 #77FCA5 #778BFC #FC77CE
split-complementary
#FCE877 #77CEFC #A577FC
monochromatic
#F3CF05 #FBDE3B #FCE877 #FDF2B3 #FEFAE1

Accessibility & contrast

On white

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

On black

16.95
#FCE877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE877
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE877#FFFFFF#000000##000000
##FCE8771.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE26D
Deuteranopia (green-blind)
#FFEA7C
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fce877;
/* rgb */ color: rgb(252, 232, 119);
/* oklch */ color: oklch(92.5% 0.135 99.4);
Tailwind
colors: {
  custom: {
    50: '#ffefa1',
    500: '#fce877',
    950: '#000000',
  },
}
SCSS
$custom: #fce877;
$custom-light: #ffefa1;
$custom-dark: #000000;
JSON
{
  "hex": "#fce877",
  "rgb": {
    "r": 252,
    "g": 232,
    "b": 119
  },
  "hsl": {
    "h": 50.977,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92487,
    "c": 0.1353,
    "h": 99.4
  },
  "luminance": 0.79741
}

Semantic roles & 50–950 ramp

primary
#FCE877
secondary
#3E56D9
accent
#23E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FCE877

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

Preview Lab → · Contrast checker → · Palette generator →

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