#FCE866#FCE866

#FCE866 is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 92.3% C 0.150 H 100.6°. Best body text is #000000 at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#FCE866
RGBrgb(252, 232, 102)
HSLhsl(52, 96%, 69%)
HSVhsv(52, 60%, 99%)
CMYKcmyk(0%, 7.9%, 59.5%, 1.2%)
CIE-LABlab(91.40, -8.41, 64.15)
CIE-LCHlch(91.40, 64.70, 97.47°)
OKLaboklab(92.3% -0.0276 0.1475)
OKLCHoklch(92.3% 0.15 100.6)
XYZxyz(71.4025, 79.3709, 24.1268)
Luminance0.7937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE866 #667AFC
analogous
#FC9D66 #FCE866 #C5FC66
triadic
#FCE866 #66FCE8 #E866FC
tetradic
#FCE866 #66FC9D #667AFC #FC66C5
square
#FCE866 #66FC9D #667AFC #FC66C5
split-complementary
#FCE866 #66C5FC #9D66FC
monochromatic
#E3C504 #FBDF2A #FCE866 #FDF1A2 #FEFADE

Accessibility & contrast

On white

1.24
#FCE866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.87
#FCE866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE866
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE866#FFFFFF#000000##000000
##FCE8661.001.2416.8716.87
#FFFFFF1.241.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE258
Deuteranopia (green-blind)
#FFEA6D
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #fce866;
/* rgb */ color: rgb(252, 232, 102);
/* oklch */ color: oklch(92.3% 0.150 100.6);
Tailwind
colors: {
  custom: {
    50: '#ffef96',
    500: '#fce866',
    950: '#000000',
  },
}
SCSS
$custom: #fce866;
$custom-light: #ffef96;
$custom-dark: #000000;
JSON
{
  "hex": "#fce866",
  "rgb": {
    "r": 252,
    "g": 232,
    "b": 102
  },
  "hsl": {
    "h": 52,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.923,
    "c": 0.15009,
    "h": 100.6
  },
  "luminance": 0.79368
}

Semantic roles & 50–950 ramp

primary
#FCE866
secondary
#3046D6
accent
#1FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #FCE866

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

Preview Lab → · Contrast checker → · Palette generator →

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