#FCEC6C#FCEC6C

#FCEC6C is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 93.2% C 0.149 H 102.2°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#FCEC6C
RGBrgb(252, 236, 108)
HSLhsl(53, 96%, 71%)
HSVhsv(53, 57%, 99%)
CMYKcmyk(0%, 6.3%, 57.1%, 1.2%)
CIE-LABlab(92.47, -9.98, 62.74)
CIE-LCHlch(92.47, 63.53, 99.04°)
OKLaboklab(93.17% -0.0315 0.1452)
OKLCHoklch(93.17% 0.149 102.2)
XYZxyz(72.8497, 81.7718, 26.1306)
Luminance0.8177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEC6C #6C7CFC
analogous
#FCA46C #FCEC6C #C4FC6C
triadic
#FCEC6C #6CFCEC #EC6CFC
tetradic
#FCEC6C #6CFCA4 #6C7CFC #FC6CC4
square
#FCEC6C #6CFCA4 #6C7CFC #FC6CC4
split-complementary
#FCEC6C #6CC4FC #A46CFC
monochromatic
#E9D005 #FBE430 #FCEC6C #FDF4A8 #FEFBE1

Accessibility & contrast

On white

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

On black

17.35
#FCEC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEC6C
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEC6C#FFFFFF#000000##000000
##FCEC6C1.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE55F
Deuteranopia (green-blind)
#FFED72
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #fcec6c;
/* rgb */ color: rgb(252, 236, 108);
/* oklch */ color: oklch(93.2% 0.149 102.2);
Tailwind
colors: {
  custom: {
    50: '#fff19a',
    500: '#fcec6c',
    950: '#000000',
  },
}
SCSS
$custom: #fcec6c;
$custom-light: #fff19a;
$custom-dark: #000000;
JSON
{
  "hex": "#fcec6c",
  "rgb": {
    "r": 252,
    "g": 236,
    "b": 108
  },
  "hsl": {
    "h": 53.333,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.93169,
    "c": 0.1486,
    "h": 102.2
  },
  "luminance": 0.81769
}

Semantic roles & 50–950 ramp

primary
#FCEC6C
secondary
#3547D7
accent
#1AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #FCEC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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