#FCE97A#FCE97A

#FCE97A is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.7% C 0.133 H 99.8°. Best body text is #000000 at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#FCE97A
RGBrgb(252, 233, 122)
HSLhsl(51, 96%, 73%)
HSVhsv(51, 52%, 99%)
CMYKcmyk(0%, 7.5%, 51.6%, 1.2%)
CIE-LABlab(91.86, -7.42, 55.69)
CIE-LCHlch(91.86, 56.18, 97.59°)
OKLaboklab(92.73% -0.0226 0.1315)
OKLCHoklch(92.73% 0.133 99.8)
XYZxyz(72.7990, 80.3811, 30.0890)
Luminance0.8038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE97A #7A8DFC
analogous
#FCA87A #FCE97A #CEFC7A
triadic
#FCE97A #7AFCE9 #E97AFC
tetradic
#FCE97A #7AFCA8 #7A8DFC #FC7ACE
square
#FCE97A #7AFCA8 #7A8DFC #FC7ACE
split-complementary
#FCE97A #7ACEFC #A87AFC
monochromatic
#F6D306 #FBDF3E #FCE97A #FDF3B6 #FEFAE1

Accessibility & contrast

On white

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

On black

17.08
#FCE97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE97A
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE97A#FFFFFF#000000##000000
##FCE97A1.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE370
Deuteranopia (green-blind)
#FFEB7F
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #fce97a;
/* rgb */ color: rgb(252, 233, 122);
/* oklch */ color: oklch(92.7% 0.133 99.8);
Tailwind
colors: {
  custom: {
    50: '#ffefa3',
    500: '#fce97a',
    950: '#000000',
  },
}
SCSS
$custom: #fce97a;
$custom-light: #ffefa3;
$custom-dark: #000000;
JSON
{
  "hex": "#fce97a",
  "rgb": {
    "r": 252,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 51.231,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92725,
    "c": 0.13338,
    "h": 99.8
  },
  "luminance": 0.80378
}

Semantic roles & 50–950 ramp

primary
#FCE97A
secondary
#4157D9
accent
#22E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FCE97A

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

Preview Lab → · Contrast checker → · Palette generator →

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