#FCE97B#FCE97B

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

Color values

HEX#FCE97B
RGBrgb(252, 233, 123)
HSLhsl(51, 96%, 74%)
HSVhsv(51, 51%, 99%)
CMYKcmyk(0%, 7.5%, 51.2%, 1.2%)
CIE-LABlab(91.87, -7.34, 55.23)
CIE-LCHlch(91.87, 55.72, 97.57°)
OKLaboklab(92.74% -0.0223 0.1306)
OKLCHoklch(92.74% 0.132 99.7)
XYZxyz(72.8613, 80.4060, 30.4170)
Luminance0.8040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE97B #7B8EFC
analogous
#FCA87B #FCE97B #CEFC7B
triadic
#FCE97B #7BFCE9 #E97BFC
tetradic
#FCE97B #7BFCA8 #7B8EFC #FC7BCE
square
#FCE97B #7BFCA8 #7B8EFC #FC7BCE
split-complementary
#FCE97B #7BCEFC #A87BFC
monochromatic
#F7D306 #FBDF3F #FCE97B #FDF3B7 #FEFAE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCE97B#FFFFFF#000000##000000
##FCE97B1.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)
#FBE371
Deuteranopia (green-blind)
#FFEB80
Tritanopia (blue-blind)
#FFDBD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #fce97b;
/* rgb */ color: rgb(252, 233, 123);
/* oklch */ color: oklch(92.7% 0.132 99.7);
Tailwind
colors: {
  custom: {
    50: '#ffefa4',
    500: '#fce97b',
    950: '#000000',
  },
}
SCSS
$custom: #fce97b;
$custom-light: #ffefa4;
$custom-dark: #000000;
JSON
{
  "hex": "#fce97b",
  "rgb": {
    "r": 252,
    "g": 233,
    "b": 123
  },
  "hsl": {
    "h": 51.163,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92737,
    "c": 0.13244,
    "h": 99.7
  },
  "luminance": 0.80403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCE97B

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

Preview Lab → · Contrast checker → · Palette generator →

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