#FCE97C#FCE97C

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

Color values

HEX#FCE97C
RGBrgb(252, 233, 124)
HSLhsl(51, 96%, 74%)
HSVhsv(51, 51%, 99%)
CMYKcmyk(0%, 7.5%, 50.8%, 1.2%)
CIE-LABlab(91.88, -7.26, 54.78)
CIE-LCHlch(91.88, 55.26, 97.55°)
OKLaboklab(92.75% -0.0219 0.1296)
OKLCHoklch(92.75% 0.131 99.6)
XYZxyz(72.9242, 80.4312, 30.7483)
Luminance0.8043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE97C #7C8FFC
analogous
#FCA97C #FCE97C #CFFC7C
triadic
#FCE97C #7CFCE9 #E97CFC
tetradic
#FCE97C #7CFCA9 #7C8FFC #FC7CCF
square
#FCE97C #7CFCA9 #7C8FFC #FC7CCF
split-complementary
#FCE97C #7CCFFC #A97CFC
monochromatic
#F8D406 #FBDF40 #FCE97C #FDF3B8 #FEFAE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCE97C#FFFFFF#000000##000000
##FCE97C1.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)
#FBE472
Deuteranopia (green-blind)
#FFEB81
Tritanopia (blue-blind)
#FFDBD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #fce97c;
/* rgb */ color: rgb(252, 233, 124);
/* oklch */ color: oklch(92.8% 0.131 99.6);
Tailwind
colors: {
  custom: {
    50: '#ffefa4',
    500: '#fce97c',
    950: '#000000',
  },
}
SCSS
$custom: #fce97c;
$custom-light: #ffefa4;
$custom-dark: #000000;
JSON
{
  "hex": "#fce97c",
  "rgb": {
    "r": 252,
    "g": 233,
    "b": 124
  },
  "hsl": {
    "h": 51.094,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.9275,
    "c": 0.13149,
    "h": 99.6
  },
  "luminance": 0.80429
}

Semantic roles & 50–950 ramp

primary
#FCE97C
secondary
#4359DA
accent
#22E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FCE97C

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

Preview Lab → · Contrast checker → · Palette generator →

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