#FCE378#FCE378

#FCE378 is a very light, vivid yellow. Relative luminance 0.770; OKLCH L 91.5% C 0.130 H 96.5°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#FCE378
RGBrgb(252, 227, 120)
HSLhsl(49, 96%, 73%)
HSVhsv(49, 52%, 99%)
CMYKcmyk(0%, 9.9%, 52.4%, 1.2%)
CIE-LABlab(90.32, -4.58, 54.80)
CIE-LCHlch(90.32, 54.99, 94.78°)
OKLaboklab(91.5% -0.0146 0.1293)
OKLCHoklch(91.5% 0.13 96.5)
XYZxyz(71.0066, 76.9926, 28.8865)
Luminance0.7699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE378 #7891FC
analogous
#FCA178 #FCE378 #D3FC78
triadic
#FCE378 #78FCE3 #E378FC
tetradic
#FCE378 #78FCA1 #7891FC #FC78D3
square
#FCE378 #78FCA1 #7891FC #FC78D3
split-complementary
#FCE378 #78D3FC #A178FC
monochromatic
#F4C705 #FBD73C #FCE378 #FDEFB4 #FEF9E1

Accessibility & contrast

On white

1.28
#FCE378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.40
#FCE378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE378
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE378#FFFFFF#000000##000000
##FCE3781.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE6E
Deuteranopia (green-blind)
#FCE77D
Tritanopia (blue-blind)
#FFD5CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #fce378;
/* rgb */ color: rgb(252, 227, 120);
/* oklch */ color: oklch(91.5% 0.130 96.5);
Tailwind
colors: {
  custom: {
    50: '#ffeba1',
    500: '#fce378',
    950: '#000000',
  },
}
SCSS
$custom: #fce378;
$custom-light: #ffeba1;
$custom-dark: #000000;
JSON
{
  "hex": "#fce378",
  "rgb": {
    "r": 252,
    "g": 227,
    "b": 120
  },
  "hsl": {
    "h": 48.636,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.915,
    "c": 0.13015,
    "h": 96.5
  },
  "luminance": 0.7699
}

Semantic roles & 50–950 ramp

primary
#FCE378
secondary
#3F5CD9
accent
#2BE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FCE378

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

Preview Lab → · Contrast checker → · Palette generator →

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