#FCE56B#FCE56B

#FCE56B is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.7% C 0.143 H 98.8°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#FCE56B
RGBrgb(252, 229, 107)
HSLhsl(50, 96%, 70%)
HSVhsv(50, 58%, 99%)
CMYKcmyk(0%, 9.1%, 57.5%, 1.2%)
CIE-LABlab(90.69, -6.57, 61.16)
CIE-LCHlch(90.69, 61.51, 96.13°)
OKLaboklab(91.75% -0.0218 0.1417)
OKLCHoklch(91.75% 0.143 98.8)
XYZxyz(70.8207, 77.7986, 25.1933)
Luminance0.7780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE56B #6B82FC
analogous
#FC9D6B #FCE56B #CAFC6B
triadic
#FCE56B #6BFCE5 #E56BFC
tetradic
#FCE56B #6BFC9D #6B82FC #FC6BCA
square
#FCE56B #6BFC9D #6B82FC #FC6BCA
split-complementary
#FCE56B #6BCAFC #9D6BFC
monochromatic
#E8C405 #FBDA2F #FCE56B #FDF0A7 #FEFAE1

Accessibility & contrast

On white

1.27
#FCE56B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.56
#FCE56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE56B
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE56B#FFFFFF#000000##000000
##FCE56B1.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E05F
Deuteranopia (green-blind)
#FFE871
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #fce56b;
/* rgb */ color: rgb(252, 229, 107);
/* oklch */ color: oklch(91.7% 0.143 98.8);
Tailwind
colors: {
  custom: {
    50: '#ffec99',
    500: '#fce56b',
    950: '#000000',
  },
}
SCSS
$custom: #fce56b;
$custom-light: #ffec99;
$custom-dark: #000000;
JSON
{
  "hex": "#fce56b",
  "rgb": {
    "r": 252,
    "g": 229,
    "b": 107
  },
  "hsl": {
    "h": 50.483,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91749,
    "c": 0.14341,
    "h": 98.8
  },
  "luminance": 0.77796
}

Semantic roles & 50–950 ramp

primary
#FCE56B
secondary
#344ED7
accent
#24E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FCE56B

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

Preview Lab → · Contrast checker → · Palette generator →

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