#FCEC5C#FCEC5C

#FCEC5C is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 93.0% C 0.161 H 103.0°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#FCEC5C
RGBrgb(252, 236, 92)
HSLhsl(54, 96%, 67%)
HSVhsv(54, 63%, 99%)
CMYKcmyk(0%, 6.3%, 63.5%, 1.2%)
CIE-LABlab(92.34, -11.02, 69.34)
CIE-LCHlch(92.34, 70.21, 99.03°)
OKLaboklab(93.02% -0.0362 0.1572)
OKLCHoklch(93.02% 0.161 103)
XYZxyz(72.0749, 81.4619, 22.0503)
Luminance0.8146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEC5C #5C6CFC
analogous
#FC9C5C #FCEC5C #BCFC5C
triadic
#FCEC5C #5CFCEC #EC5CFC
tetradic
#FCEC5C #5CFC9C #5C6CFC #FC5CBC
square
#FCEC5C #5CFC9C #5C6CFC #FC5CBC
split-complementary
#FCEC5C #5CBCFC #9C5CFC
monochromatic
#DAC404 #FBE520 #FCEC5C #FDF398 #FEFAD4

Accessibility & contrast

On white

1.21
#FCEC5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#FCEC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEC5C
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEC5C#FFFFFF#000000##000000
##FCEC5C1.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE54A
Deuteranopia (green-blind)
#FFEC64
Tritanopia (blue-blind)
#FFDDCE
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #fcec5c;
/* rgb */ color: rgb(252, 236, 92);
/* oklch */ color: oklch(93.0% 0.161 103.0);
Tailwind
colors: {
  custom: {
    50: '#fff190',
    500: '#fcec5c',
    950: '#000000',
  },
}
SCSS
$custom: #fcec5c;
$custom-light: #fff190;
$custom-dark: #000000;
JSON
{
  "hex": "#fcec5c",
  "rgb": {
    "r": 252,
    "g": 236,
    "b": 92
  },
  "hsl": {
    "h": 54,
    "s": 96.386,
    "l": 67.451
  },
  "oklch": {
    "l": 0.93016,
    "c": 0.16128,
    "h": 103
  },
  "luminance": 0.81459
}

Semantic roles & 50–950 ramp

primary
#FCEC5C
secondary
#293AD3
accent
#17E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #FCEC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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