#FCEA78#FCEA78

#FCEA78 is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.9% C 0.136 H 100.5°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#FCEA78
RGBrgb(252, 234, 120)
HSLhsl(52, 96%, 73%)
HSVhsv(52, 52%, 99%)
CMYKcmyk(0%, 7.1%, 52.4%, 1.2%)
CIE-LABlab(92.09, -8.08, 56.89)
CIE-LCHlch(92.09, 57.46, 98.09°)
OKLaboklab(92.9% -0.0247 0.1339)
OKLCHoklch(92.9% 0.136 100.5)
XYZxyz(72.9602, 80.8998, 29.5377)
Luminance0.8090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEA78 #788AFC
analogous
#FCA878 #FCEA78 #CCFC78
triadic
#FCEA78 #78FCEA #EA78FC
tetradic
#FCEA78 #78FCA8 #788AFC #FC78CC
square
#FCEA78 #78FCA8 #788AFC #FC78CC
split-complementary
#FCEA78 #78CCFC #A878FC
monochromatic
#F4D405 #FBE13C #FCEA78 #FDF3B4 #FEFAE1

Accessibility & contrast

On white

1.22
#FCEA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.18
#FCEA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEA78
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEA78#FFFFFF#000000##000000
##FCEA781.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE46D
Deuteranopia (green-blind)
#FFEC7D
Tritanopia (blue-blind)
#FFDCD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #fcea78;
/* rgb */ color: rgb(252, 234, 120);
/* oklch */ color: oklch(92.9% 0.136 100.5);
Tailwind
colors: {
  custom: {
    50: '#fff0a2',
    500: '#fcea78',
    950: '#000000',
  },
}
SCSS
$custom: #fcea78;
$custom-light: #fff0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fcea78",
  "rgb": {
    "r": 252,
    "g": 234,
    "b": 120
  },
  "hsl": {
    "h": 51.818,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92901,
    "c": 0.13615,
    "h": 100.5
  },
  "luminance": 0.80897
}

Semantic roles & 50–950 ramp

primary
#FCEA78
secondary
#3F54D9
accent
#1FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FCEA78

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

Preview Lab → · Contrast checker → · Palette generator →

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