#FCEC8A#FCEC8A

#FCEC8A is a very light, vivid yellow. Relative luminance 0.825; OKLCH L 93.5% C 0.120 H 100.2°. Best body text is #000000 at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#FCEC8A
RGBrgb(252, 236, 138)
HSLhsl(52, 95%, 76%)
HSVhsv(52, 45%, 99%)
CMYKcmyk(0%, 6.3%, 45.2%, 1.2%)
CIE-LABlab(92.81, -7.51, 49.26)
CIE-LCHlch(92.81, 49.83, 98.67°)
OKLaboklab(93.54% -0.0213 0.1185)
OKLCHoklch(93.54% 0.12 100.2)
XYZxyz(74.7297, 82.5238, 36.0320)
Luminance0.8252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEC8A #8A9AFC
analogous
#FCB38A #FCEC8A #D3FC8A
triadic
#FCEC8A #8AFCEC #EC8AFC
tetradic
#FCEC8A #8AFCB3 #8A9AFC #FC8AD3
square
#FCEC8A #8AFCB3 #8A9AFC #FC8AD3
split-complementary
#FCEC8A #8AD3FC #B38AFC
monochromatic
#F9D913 #FAE24E #FCEC8A #FEF6C6 #FEFAE1

Accessibility & contrast

On white

1.20
#FCEC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.50
#FCEC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEC8A
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEC8A#FFFFFF#000000##000000
##FCEC8A1.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE782
Deuteranopia (green-blind)
#FFED8E
Tritanopia (blue-blind)
#FFE0D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #fcec8a;
/* rgb */ color: rgb(252, 236, 138);
/* oklch */ color: oklch(93.5% 0.120 100.2);
Tailwind
colors: {
  custom: {
    50: '#fff2ae',
    500: '#fcec8a',
    950: '#000000',
  },
}
SCSS
$custom: #fcec8a;
$custom-light: #fff2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#fcec8a",
  "rgb": {
    "r": 252,
    "g": 236,
    "b": 138
  },
  "hsl": {
    "h": 51.579,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.93539,
    "c": 0.12039,
    "h": 100.2
  },
  "luminance": 0.82521
}

Semantic roles & 50–950 ramp

primary
#FCEC8A
secondary
#4F62DC
accent
#20E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FCEC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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