#FCEB78#FCEB78

#FCEB78 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 93.1% C 0.137 H 101.0°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#FCEB78
RGBrgb(252, 235, 120)
HSLhsl(52, 96%, 73%)
HSVhsv(52, 52%, 99%)
CMYKcmyk(0%, 6.7%, 52.4%, 1.2%)
CIE-LABlab(92.34, -8.58, 57.19)
CIE-LCHlch(92.34, 57.83, 98.53°)
OKLaboklab(93.1% -0.0262 0.1345)
OKLCHoklch(93.1% 0.137 101)
XYZxyz(73.2457, 81.4708, 29.6328)
Luminance0.8147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEB78 #7889FC
analogous
#FCA978 #FCEB78 #CBFC78
triadic
#FCEB78 #78FCEB #EB78FC
tetradic
#FCEB78 #78FCA9 #7889FC #FC78CB
square
#FCEB78 #78FCA9 #7889FC #FC78CB
split-complementary
#FCEB78 #78CBFC #A978FC
monochromatic
#F4D505 #FBE23C #FCEB78 #FDF4B4 #FEFBE1

Accessibility & contrast

On white

1.21
#FCEB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#FCEB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEB78
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEB78#FFFFFF#000000##000000
##FCEB781.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE56D
Deuteranopia (green-blind)
#FFEC7D
Tritanopia (blue-blind)
#FFDDD1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #fceb78;
/* rgb */ color: rgb(252, 235, 120);
/* oklch */ color: oklch(93.1% 0.137 101.0);
Tailwind
colors: {
  custom: {
    50: '#fff1a2',
    500: '#fceb78',
    950: '#000000',
  },
}
SCSS
$custom: #fceb78;
$custom-light: #fff1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fceb78",
  "rgb": {
    "r": 252,
    "g": 235,
    "b": 120
  },
  "hsl": {
    "h": 52.273,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93102,
    "c": 0.13705,
    "h": 101
  },
  "luminance": 0.81468
}

Semantic roles & 50–950 ramp

primary
#FCEB78
secondary
#3F53D9
accent
#1EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FCEB78

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

Preview Lab → · Contrast checker → · Palette generator →

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