#FCEA8A#FCEA8A

#FCEA8A is a very light, moderate yellow. Relative luminance 0.814; OKLCH L 93.1% C 0.119 H 98.9°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#FCEA8A
RGBrgb(252, 234, 138)
HSLhsl(51, 95%, 76%)
HSVhsv(51, 45%, 99%)
CMYKcmyk(0%, 7.1%, 45.2%, 1.2%)
CIE-LABlab(92.30, -6.51, 48.63)
CIE-LCHlch(92.30, 49.06, 97.62°)
OKLaboklab(93.14% -0.0184 0.1171)
OKLCHoklch(93.14% 0.119 98.9)
XYZxyz(74.1571, 81.3786, 35.8412)
Luminance0.8138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEA8A #8A9CFC
analogous
#FCB18A #FCEA8A #D5FC8A
triadic
#FCEA8A #8AFCEA #EA8AFC
tetradic
#FCEA8A #8AFCB1 #8A9CFC #FC8AD5
square
#FCEA8A #8AFCB1 #8A9CFC #FC8AD5
split-complementary
#FCEA8A #8AD5FC #B18AFC
monochromatic
#F9D513 #FADF4E #FCEA8A #FEF5C6 #FEFAE1

Accessibility & contrast

On white

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

On black

17.28
#FCEA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEA8A
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEA8A#FFFFFF#000000##000000
##FCEA8A1.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE582
Deuteranopia (green-blind)
#FFEC8E
Tritanopia (blue-blind)
#FFDED3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #fcea8a;
/* rgb */ color: rgb(252, 234, 138);
/* oklch */ color: oklch(93.1% 0.119 98.9);
Tailwind
colors: {
  custom: {
    50: '#fff0ae',
    500: '#fcea8a',
    950: '#000000',
  },
}
SCSS
$custom: #fcea8a;
$custom-light: #fff0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#fcea8a",
  "rgb": {
    "r": 252,
    "g": 234,
    "b": 138
  },
  "hsl": {
    "h": 50.526,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.93139,
    "c": 0.11853,
    "h": 98.9
  },
  "luminance": 0.81376
}

Semantic roles & 50–950 ramp

primary
#FCEA8A
secondary
#4F65DC
accent
#24E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FCEA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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