#FCEC6D#FCEC6D

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

Color values

HEX#FCEC6D
RGBrgb(252, 236, 109)
HSLhsl(53, 96%, 71%)
HSVhsv(53, 57%, 99%)
CMYKcmyk(0%, 6.3%, 56.7%, 1.2%)
CIE-LABlab(92.48, -9.91, 62.31)
CIE-LCHlch(92.48, 63.09, 99.04°)
OKLaboklab(93.18% -0.0312 0.1444)
OKLCHoklch(93.18% 0.148 102.2)
XYZxyz(72.9032, 81.7932, 26.4125)
Luminance0.8179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEC6D #6D7DFC
analogous
#FCA46D #FCEC6D #C4FC6D
triadic
#FCEC6D #6DFCEC #EC6DFC
tetradic
#FCEC6D #6DFCA4 #6D7DFC #FC6DC4
square
#FCEC6D #6DFCA4 #6D7DFC #FC6DC4
split-complementary
#FCEC6D #6DC4FC #A46DFC
monochromatic
#EAD005 #FBE431 #FCEC6D #FDF4A9 #FEFBE1

Accessibility & contrast

On white

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

On black

17.36
#FCEC6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEC6D
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEC6D#FFFFFF#000000##000000
##FCEC6D1.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE560
Deuteranopia (green-blind)
#FFED73
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #fcec6d;
/* rgb */ color: rgb(252, 236, 109);
/* oklch */ color: oklch(93.2% 0.148 102.2);
Tailwind
colors: {
  custom: {
    50: '#fff19b',
    500: '#fcec6d',
    950: '#000000',
  },
}
SCSS
$custom: #fcec6d;
$custom-light: #fff19b;
$custom-dark: #000000;
JSON
{
  "hex": "#fcec6d",
  "rgb": {
    "r": 252,
    "g": 236,
    "b": 109
  },
  "hsl": {
    "h": 53.287,
    "s": 95.973,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93179,
    "c": 0.14776,
    "h": 102.2
  },
  "luminance": 0.8179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCEC6D

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

Preview Lab → · Contrast checker → · Palette generator →

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