#FCE96B#FCE96B

#FCE96B is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.6% C 0.147 H 100.8°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#FCE96B
RGBrgb(252, 233, 107)
HSLhsl(52, 96%, 70%)
HSVhsv(52, 58%, 99%)
CMYKcmyk(0%, 7.5%, 57.5%, 1.2%)
CIE-LABlab(91.70, -8.56, 62.31)
CIE-LCHlch(91.70, 62.89, 97.83°)
OKLaboklab(92.55% -0.0275 0.1442)
OKLCHoklch(92.55% 0.147 100.8)
XYZxyz(71.9403, 80.0376, 25.5664)
Luminance0.8004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE96B #6B7EFC
analogous
#FCA06B #FCE96B #C6FC6B
triadic
#FCE96B #6BFCE9 #E96BFC
tetradic
#FCE96B #6BFCA0 #6B7EFC #FC6BC6
square
#FCE96B #6BFCA0 #6B7EFC #FC6BC6
split-complementary
#FCE96B #6BC6FC #A06BFC
monochromatic
#E8CA05 #FBE02F #FCE96B #FDF2A7 #FEFBE1

Accessibility & contrast

On white

1.23
#FCE96B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.01
#FCE96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE96B
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE96B#FFFFFF#000000##000000
##FCE96B1.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE35E
Deuteranopia (green-blind)
#FFEB71
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fce96b;
/* rgb */ color: rgb(252, 233, 107);
/* oklch */ color: oklch(92.6% 0.147 100.8);
Tailwind
colors: {
  custom: {
    50: '#ffef99',
    500: '#fce96b',
    950: '#000000',
  },
}
SCSS
$custom: #fce96b;
$custom-light: #ffef99;
$custom-dark: #000000;
JSON
{
  "hex": "#fce96b",
  "rgb": {
    "r": 252,
    "g": 233,
    "b": 107
  },
  "hsl": {
    "h": 52.138,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92553,
    "c": 0.1468,
    "h": 100.8
  },
  "luminance": 0.80035
}

Semantic roles & 50–950 ramp

primary
#FCE96B
secondary
#3449D7
accent
#1EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #FCE96B

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

Preview Lab → · Contrast checker → · Palette generator →

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