#FCE97D#FCE97D

#FCE97D is a very light, vivid yellow. Relative luminance 0.805; OKLCH L 92.8% C 0.131 H 99.5°. Best body text is #000000 at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#FCE97D
RGBrgb(252, 233, 125)
HSLhsl(51, 95%, 74%)
HSVhsv(51, 50%, 99%)
CMYKcmyk(0%, 7.5%, 50.4%, 1.2%)
CIE-LABlab(91.89, -7.17, 54.33)
CIE-LCHlch(91.89, 54.80, 97.52°)
OKLaboklab(92.76% -0.0216 0.1287)
OKLCHoklch(92.76% 0.131 99.5)
XYZxyz(72.9877, 80.4566, 31.0831)
Luminance0.8045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE97D #7D90FC
analogous
#FCAA7D #FCE97D #D0FC7D
triadic
#FCE97D #7DFCE9 #E97DFC
tetradic
#FCE97D #7DFCAA #7D90FC #FC7DD0
square
#FCE97D #7DFCAA #7D90FC #FC7DD0
split-complementary
#FCE97D #7DD0FC #AA7DFC
monochromatic
#F9D406 #FBDF41 #FCE97D #FDF3B9 #FEFAE1

Accessibility & contrast

On white

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

On black

17.09
#FCE97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE97D
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE97D#FFFFFF#000000##000000
##FCE97D1.001.2317.0917.09
#FFFFFF1.231.0021.0021.00
#00000017.0921.001.001.00
##00000017.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE473
Deuteranopia (green-blind)
#FFEB82
Tritanopia (blue-blind)
#FFDCD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #fce97d;
/* rgb */ color: rgb(252, 233, 125);
/* oklch */ color: oklch(92.8% 0.131 99.5);
Tailwind
colors: {
  custom: {
    50: '#ffefa5',
    500: '#fce97d',
    950: '#000000',
  },
}
SCSS
$custom: #fce97d;
$custom-light: #ffefa5;
$custom-dark: #000000;
JSON
{
  "hex": "#fce97d",
  "rgb": {
    "r": 252,
    "g": 233,
    "b": 125
  },
  "hsl": {
    "h": 51.024,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92762,
    "c": 0.13054,
    "h": 99.5
  },
  "luminance": 0.80454
}

Semantic roles & 50–950 ramp

primary
#FCE97D
secondary
#435ADA
accent
#22E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FCE97D

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

Preview Lab → · Contrast checker → · Palette generator →

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