#FCEC79#FCEC79

#FCEC79 is a very light, vivid yellow. Relative luminance 0.821; OKLCH L 93.3% C 0.137 H 101.5°. Best body text is #000000 at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#FCEC79
RGBrgb(252, 236, 121)
HSLhsl(53, 96%, 73%)
HSVhsv(53, 52%, 99%)
CMYKcmyk(0%, 6.3%, 52%, 1.2%)
CIE-LABlab(92.61, -8.99, 57.04)
CIE-LCHlch(92.61, 57.74, 98.96°)
OKLaboklab(93.32% -0.0273 0.1343)
OKLCHoklch(93.32% 0.137 101.5)
XYZxyz(73.5938, 82.0694, 30.0498)
Luminance0.8207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEC79 #7989FC
analogous
#FCAA79 #FCEC79 #CAFC79
triadic
#FCEC79 #79FCEC #EC79FC
tetradic
#FCEC79 #79FCAA #7989FC #FC79CA
square
#FCEC79 #79FCAA #7989FC #FC79CA
split-complementary
#FCEC79 #79CAFC #AA79FC
monochromatic
#F5D805 #FBE43D #FCEC79 #FDF4B5 #FEFBE1

Accessibility & contrast

On white

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

On black

17.41
#FCEC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEC79
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEC79#FFFFFF#000000##000000
##FCEC791.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE66E
Deuteranopia (green-blind)
#FFED7E
Tritanopia (blue-blind)
#FFDED2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #fcec79;
/* rgb */ color: rgb(252, 236, 121);
/* oklch */ color: oklch(93.3% 0.137 101.5);
Tailwind
colors: {
  custom: {
    50: '#fff1a2',
    500: '#fcec79',
    950: '#000000',
  },
}
SCSS
$custom: #fcec79;
$custom-light: #fff1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fcec79",
  "rgb": {
    "r": 252,
    "g": 236,
    "b": 121
  },
  "hsl": {
    "h": 52.672,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93316,
    "c": 0.13704,
    "h": 101.5
  },
  "luminance": 0.82067
}

Semantic roles & 50–950 ramp

primary
#FCEC79
secondary
#4053D9
accent
#1CE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FCEC79

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

Preview Lab → · Contrast checker → · Palette generator →

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