#FCE99F#FCE99F

#FCE99F is a very light, moderate yellow. Relative luminance 0.815; OKLCH L 93.3% C 0.095 H 95.5°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#FCE99F
RGBrgb(252, 233, 159)
HSLhsl(48, 94%, 81%)
HSVhsv(48, 37%, 99%)
CMYKcmyk(0%, 7.5%, 36.9%, 1.2%)
CIE-LABlab(92.34, -3.85, 38.33)
CIE-LCHlch(92.34, 38.53, 95.74°)
OKLaboklab(93.27% -0.0091 0.0947)
OKLCHoklch(93.27% 0.095 95.5)
XYZxyz(75.5432, 81.4788, 44.5418)
Luminance0.8148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE99F #9FB2FC
analogous
#FCBA9F #FCE99F #E0FC9F
triadic
#FCE99F #9FFCE9 #E99FFC
tetradic
#FCE99F #9FFCBA #9FB2FC #FC9FE0
square
#FCE99F #9FFCBA #9FB2FC #FC9FE0
split-complementary
#FCE99F #9FE0FC #BA9FFC
monochromatic
#F8CE28 #FADB64 #FCE99F #FEF7DA #FEF8E1

Accessibility & contrast

On white

1.21
#FCE99F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.30
#FCE99F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE99F
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE99F#FFFFFF#000000##000000
##FCE99F1.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E59A
Deuteranopia (green-blind)
#FDECA2
Tritanopia (blue-blind)
#FFDED6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #fce99f;
/* rgb */ color: rgb(252, 233, 159);
/* oklch */ color: oklch(93.3% 0.095 95.5);
Tailwind
colors: {
  custom: {
    50: '#feefbc',
    500: '#fce99f',
    950: '#000000',
  },
}
SCSS
$custom: #fce99f;
$custom-light: #feefbc;
$custom-dark: #000000;
JSON
{
  "hex": "#fce99f",
  "rgb": {
    "r": 252,
    "g": 233,
    "b": 159
  },
  "hsl": {
    "h": 47.742,
    "s": 93.939,
    "l": 80.588
  },
  "oklch": {
    "l": 0.9327,
    "c": 0.09509,
    "h": 95.5
  },
  "luminance": 0.81476
}

Semantic roles & 50–950 ramp

primary
#FCE99F
secondary
#617ADE
accent
#2FE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181612
muted
#868582

Preview Lab

Preview with #FCE99F

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

Preview Lab → · Contrast checker → · Palette generator →

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