#FCE157#FCE157

#FCE157 is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.8% C 0.156 H 98.1°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#FCE157
RGBrgb(252, 225, 87)
HSLhsl(50, 96%, 66%)
HSVhsv(50, 65%, 99%)
CMYKcmyk(0%, 10.7%, 65.5%, 1.2%)
CIE-LABlab(89.50, -5.83, 68.38)
CIE-LCHlch(89.50, 68.63, 94.88°)
OKLaboklab(90.76% -0.0219 0.1544)
OKLCHoklch(90.76% 0.156 98.1)
XYZxyz(68.7935, 75.2373, 19.9136)
Luminance0.7523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE157 #5772FC
analogous
#FC8F57 #FCE157 #C5FC57
triadic
#FCE157 #57FCE1 #E157FC
tetradic
#FCE157 #57FC8F #5772FC #FC57C5
square
#FCE157 #57FC8F #5772FC #FC57C5
split-complementary
#FCE157 #57C5FC #8F57FC
monochromatic
#D5B304 #FBD61B #FCE157 #FDEC93 #FEF6CF

Accessibility & contrast

On white

1.31
#FCE157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.05
#FCE157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE157
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE157#FFFFFF#000000##000000
##FCE1571.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC45
Deuteranopia (green-blind)
#FDE55E
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #fce157;
/* rgb */ color: rgb(252, 225, 87);
/* oklch */ color: oklch(90.8% 0.156 98.1);
Tailwind
colors: {
  custom: {
    50: '#ffea8d',
    500: '#fce157',
    950: '#000000',
  },
}
SCSS
$custom: #fce157;
$custom-light: #ffea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#fce157",
  "rgb": {
    "r": 252,
    "g": 225,
    "b": 87
  },
  "hsl": {
    "h": 50.182,
    "s": 96.491,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90756,
    "c": 0.15593,
    "h": 98.1
  },
  "luminance": 0.75234
}

Semantic roles & 50–950 ramp

primary
#FCE157
secondary
#2843CF
accent
#26E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160D
muted
#87847F

Preview Lab

Preview with #FCE157

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

Preview Lab → · Contrast checker → · Palette generator →

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