#FCE99B#FCE99B

#FCE99B is a very light, moderate yellow. Relative luminance 0.813; OKLCH L 93.2% C 0.100 H 96.1°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#FCE99B
RGBrgb(252, 233, 155)
HSLhsl(48, 94%, 80%)
HSVhsv(48, 38%, 99%)
CMYKcmyk(0%, 7.5%, 38.5%, 1.2%)
CIE-LABlab(92.28, -4.29, 40.25)
CIE-LCHlch(92.28, 40.48, 96.08°)
OKLaboklab(93.2% -0.0106 0.099)
OKLCHoklch(93.2% 0.1 96.1)
XYZxyz(75.2017, 81.3422, 42.7433)
Luminance0.8134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE99B #9BAEFC
analogous
#FCB89B #FCE99B #DFFC9B
triadic
#FCE99B #9BFCE9 #E99BFC
tetradic
#FCE99B #9BFCB8 #9BAEFC #FC9BDF
square
#FCE99B #9BFCB8 #9BAEFC #FC9BDF
split-complementary
#FCE99B #9BDFFC #B89BFC
monochromatic
#F8CF24 #FADC60 #FCE99B #FEF6D6 #FEF8E1

Accessibility & contrast

On white

1.22
#FCE99B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.27
#FCE99B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE99B
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE99B#FFFFFF#000000##000000
##FCE99B1.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E595
Deuteranopia (green-blind)
#FDEC9E
Tritanopia (blue-blind)
#FFDED5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #fce99b;
/* rgb */ color: rgb(252, 233, 155);
/* oklch */ color: oklch(93.2% 0.100 96.1);
Tailwind
colors: {
  custom: {
    50: '#ffefb9',
    500: '#fce99b',
    950: '#000000',
  },
}
SCSS
$custom: #fce99b;
$custom-light: #ffefb9;
$custom-dark: #000000;
JSON
{
  "hex": "#fce99b",
  "rgb": {
    "r": 252,
    "g": 233,
    "b": 155
  },
  "hsl": {
    "h": 48.247,
    "s": 94.175,
    "l": 79.804
  },
  "oklch": {
    "l": 0.93203,
    "c": 0.09952,
    "h": 96.1
  },
  "luminance": 0.8134
}

Semantic roles & 50–950 ramp

primary
#FCE99B
secondary
#5D77DE
accent
#2DE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FCE99B

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

Preview Lab → · Contrast checker → · Palette generator →

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