#FCE772#FCE772

#FCE772 is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 92.2% C 0.139 H 99.3°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#FCE772
RGBrgb(252, 231, 114)
HSLhsl(51, 96%, 72%)
HSVhsv(51, 55%, 99%)
CMYKcmyk(0%, 8.3%, 54.8%, 1.2%)
CIE-LABlab(91.26, -7.06, 58.67)
CIE-LCHlch(91.26, 59.10, 96.86°)
OKLaboklab(92.23% -0.0224 0.1372)
OKLCHoklch(92.23% 0.139 99.3)
XYZxyz(71.7606, 79.0650, 27.3974)
Luminance0.7906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE772 #7287FC
analogous
#FCA272 #FCE772 #CCFC72
triadic
#FCE772 #72FCE7 #E772FC
tetradic
#FCE772 #72FCA2 #7287FC #FC72CC
square
#FCE772 #72FCA2 #7287FC #FC72CC
split-complementary
#FCE772 #72CCFC #A272FC
monochromatic
#EFCB05 #FBDD36 #FCE772 #FDF1AE #FEFAE1

Accessibility & contrast

On white

1.25
#FCE772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.81
#FCE772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE772
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE772#FFFFFF#000000##000000
##FCE7721.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE167
Deuteranopia (green-blind)
#FFE977
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #fce772;
/* rgb */ color: rgb(252, 231, 114);
/* oklch */ color: oklch(92.2% 0.139 99.3);
Tailwind
colors: {
  custom: {
    50: '#ffee9e',
    500: '#fce772',
    950: '#000000',
  },
}
SCSS
$custom: #fce772;
$custom-light: #ffee9e;
$custom-dark: #000000;
JSON
{
  "hex": "#fce772",
  "rgb": {
    "r": 252,
    "g": 231,
    "b": 114
  },
  "hsl": {
    "h": 50.87,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92228,
    "c": 0.13898,
    "h": 99.3
  },
  "luminance": 0.79062
}

Semantic roles & 50–950 ramp

primary
#FCE772
secondary
#3A52D8
accent
#23E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FCE772

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

Preview Lab → · Contrast checker → · Palette generator →

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