#FCE178#FCE178

#FCE178 is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 91.1% C 0.129 H 95.2°. Best body text is #000000 at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#FCE178
RGBrgb(252, 225, 120)
HSLhsl(48, 96%, 73%)
HSVhsv(48, 52%, 99%)
CMYKcmyk(0%, 10.7%, 52.4%, 1.2%)
CIE-LABlab(89.82, -3.57, 54.20)
CIE-LCHlch(89.82, 54.32, 93.77°)
OKLaboklab(91.1% -0.0117 0.128)
OKLCHoklch(91.1% 0.129 95.2)
XYZxyz(70.4628, 75.9050, 28.7052)
Luminance0.7590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE178 #7893FC
analogous
#FC9F78 #FCE178 #D5FC78
triadic
#FCE178 #78FCE1 #E178FC
tetradic
#FCE178 #78FC9F #7893FC #FC78D5
square
#FCE178 #78FC9F #7893FC #FC78D5
split-complementary
#FCE178 #78D5FC #9F78FC
monochromatic
#F4C305 #FBD43C #FCE178 #FDEEB4 #FEF8E1

Accessibility & contrast

On white

1.30
#FCE178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.18
#FCE178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE178
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE178#FFFFFF#000000##000000
##FCE1781.001.3016.1816.18
#FFFFFF1.301.0021.0021.00
#00000016.1821.001.001.00
##00000016.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD6F
Deuteranopia (green-blind)
#FBE67C
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #fce178;
/* rgb */ color: rgb(252, 225, 120);
/* oklch */ color: oklch(91.1% 0.129 95.2);
Tailwind
colors: {
  custom: {
    50: '#ffeaa1',
    500: '#fce178',
    950: '#000000',
  },
}
SCSS
$custom: #fce178;
$custom-light: #ffeaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#fce178",
  "rgb": {
    "r": 252,
    "g": 225,
    "b": 120
  },
  "hsl": {
    "h": 47.727,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.91102,
    "c": 0.12856,
    "h": 95.2
  },
  "luminance": 0.75902
}

Semantic roles & 50–950 ramp

primary
#FCE178
secondary
#3F5FD9
accent
#2FE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FCE178

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

Preview Lab → · Contrast checker → · Palette generator →

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