#FCEB8A#FCEB8A

#FCEB8A is a very light, moderate yellow. Relative luminance 0.819; OKLCH L 93.3% C 0.119 H 99.6°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#FCEB8A
RGBrgb(252, 235, 138)
HSLhsl(51, 95%, 76%)
HSVhsv(51, 45%, 99%)
CMYKcmyk(0%, 6.7%, 45.2%, 1.2%)
CIE-LABlab(92.55, -7.01, 48.94)
CIE-LCHlch(92.55, 49.44, 98.15°)
OKLaboklab(93.34% -0.0198 0.1178)
OKLCHoklch(93.34% 0.119 99.6)
XYZxyz(74.4426, 81.9496, 35.9363)
Luminance0.8195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEB8A #8A9BFC
analogous
#FCB28A #FCEB8A #D4FC8A
triadic
#FCEB8A #8AFCEB #EB8AFC
tetradic
#FCEB8A #8AFCB2 #8A9BFC #FC8AD4
square
#FCEB8A #8AFCB2 #8A9BFC #FC8AD4
split-complementary
#FCEB8A #8AD4FC #B28AFC
monochromatic
#F9D713 #FAE14E #FCEB8A #FEF5C6 #FEFAE1

Accessibility & contrast

On white

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

On black

17.39
#FCEB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEB8A
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEB8A#FFFFFF#000000##000000
##FCEB8A1.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE682
Deuteranopia (green-blind)
#FFED8E
Tritanopia (blue-blind)
#FFDFD4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #fceb8a;
/* rgb */ color: rgb(252, 235, 138);
/* oklch */ color: oklch(93.3% 0.119 99.6);
Tailwind
colors: {
  custom: {
    50: '#fff1ae',
    500: '#fceb8a',
    950: '#000000',
  },
}
SCSS
$custom: #fceb8a;
$custom-light: #fff1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#fceb8a",
  "rgb": {
    "r": 252,
    "g": 235,
    "b": 138
  },
  "hsl": {
    "h": 51.053,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.93339,
    "c": 0.11945,
    "h": 99.6
  },
  "luminance": 0.81947
}

Semantic roles & 50–950 ramp

primary
#FCEB8A
secondary
#4F64DC
accent
#22E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FCEB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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