#FCE977#FCE977

#FCE977 is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.7% C 0.136 H 100.0°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#FCE977
RGBrgb(252, 233, 119)
HSLhsl(51, 96%, 73%)
HSVhsv(51, 53%, 99%)
CMYKcmyk(0%, 7.5%, 52.8%, 1.2%)
CIE-LABlab(91.82, -7.66, 57.04)
CIE-LCHlch(91.82, 57.55, 97.65°)
OKLaboklab(92.69% -0.0236 0.1341)
OKLCHoklch(92.69% 0.136 100)
XYZxyz(72.6160, 80.3079, 29.1251)
Luminance0.8031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE977 #778AFC
analogous
#FCA777 #FCE977 #CCFC77
triadic
#FCE977 #77FCE9 #E977FC
tetradic
#FCE977 #77FCA7 #778AFC #FC77CC
square
#FCE977 #77FCA7 #778AFC #FC77CC
split-complementary
#FCE977 #77CCFC #A777FC
monochromatic
#F3D105 #FBDF3B #FCE977 #FDF3B3 #FEFAE1

Accessibility & contrast

On white

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

On black

17.06
#FCE977 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE977
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE977#FFFFFF#000000##000000
##FCE9771.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36C
Deuteranopia (green-blind)
#FFEB7C
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #fce977;
/* rgb */ color: rgb(252, 233, 119);
/* oklch */ color: oklch(92.7% 0.136 100.0);
Tailwind
colors: {
  custom: {
    50: '#ffefa1',
    500: '#fce977',
    950: '#000000',
  },
}
SCSS
$custom: #fce977;
$custom-light: #ffefa1;
$custom-dark: #000000;
JSON
{
  "hex": "#fce977",
  "rgb": {
    "r": 252,
    "g": 233,
    "b": 119
  },
  "hsl": {
    "h": 51.429,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92688,
    "c": 0.13618,
    "h": 100
  },
  "luminance": 0.80305
}

Semantic roles & 50–950 ramp

primary
#FCE977
secondary
#3E54D9
accent
#21E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FCE977

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

Preview Lab → · Contrast checker → · Palette generator →

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