#FCE472#FCE472

#FCE472 is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.6% C 0.136 H 97.6°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#FCE472
RGBrgb(252, 228, 114)
HSLhsl(50, 96%, 72%)
HSVhsv(50, 55%, 99%)
CMYKcmyk(0%, 9.5%, 54.8%, 1.2%)
CIE-LABlab(90.51, -5.55, 57.79)
CIE-LCHlch(90.51, 58.06, 95.49°)
OKLaboklab(91.63% -0.0181 0.1353)
OKLCHoklch(91.63% 0.136 97.6)
XYZxyz(70.9281, 77.4001, 27.1199)
Luminance0.7740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE472 #728AFC
analogous
#FC9F72 #FCE472 #CFFC72
triadic
#FCE472 #72FCE4 #E472FC
tetradic
#FCE472 #72FC9F #728AFC #FC72CF
square
#FCE472 #72FC9F #728AFC #FC72CF
split-complementary
#FCE472 #72CFFC #9F72FC
monochromatic
#EFC605 #FBD936 #FCE472 #FDEFAE #FEF9E1

Accessibility & contrast

On white

1.27
#FCE472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.48
#FCE472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE472
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE472#FFFFFF#000000##000000
##FCE4721.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF67
Deuteranopia (green-blind)
#FEE777
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #fce472;
/* rgb */ color: rgb(252, 228, 114);
/* oklch */ color: oklch(91.6% 0.136 97.6);
Tailwind
colors: {
  custom: {
    50: '#ffec9e',
    500: '#fce472',
    950: '#000000',
  },
}
SCSS
$custom: #fce472;
$custom-light: #ffec9e;
$custom-dark: #000000;
JSON
{
  "hex": "#fce472",
  "rgb": {
    "r": 252,
    "g": 228,
    "b": 114
  },
  "hsl": {
    "h": 49.565,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91627,
    "c": 0.13646,
    "h": 97.6
  },
  "luminance": 0.77397
}

Semantic roles & 50–950 ramp

primary
#FCE472
secondary
#3A56D8
accent
#28E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FCE472

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

Preview Lab → · Contrast checker → · Palette generator →

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