#FCEF8A#FCEF8A

#FCEF8A is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 94.1% C 0.123 H 102.0°. Best body text is #000000 at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#FCEF8A
RGBrgb(252, 239, 138)
HSLhsl(53, 95%, 76%)
HSVhsv(53, 45%, 99%)
CMYKcmyk(0%, 5.2%, 45.2%, 1.2%)
CIE-LABlab(93.57, -9.00, 50.20)
CIE-LCHlch(93.57, 51.00, 100.16°)
OKLaboklab(94.14% -0.0256 0.1206)
OKLCHoklch(94.14% 0.123 102)
XYZxyz(75.6007, 84.2658, 36.3224)
Luminance0.8426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEF8A #8A97FC
analogous
#FCB68A #FCEF8A #D0FC8A
triadic
#FCEF8A #8AFCEF #EF8AFC
tetradic
#FCEF8A #8AFCB6 #8A97FC #FC8AD0
square
#FCEF8A #8AFCB6 #8A97FC #FC8AD0
split-complementary
#FCEF8A #8AD0FC #B68AFC
monochromatic
#F9DF13 #FAE74E #FCEF8A #FEF7C6 #FEFBE1

Accessibility & contrast

On white

1.18
#FCEF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.85
#FCEF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEF8A
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEF8A#FFFFFF#000000##000000
##FCEF8A1.001.1817.8517.85
#FFFFFF1.181.0021.0021.00
#00000017.8521.001.001.00
##00000017.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE982
Deuteranopia (green-blind)
#FFEF8E
Tritanopia (blue-blind)
#FFE3D7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fcef8a;
/* rgb */ color: rgb(252, 239, 138);
/* oklch */ color: oklch(94.1% 0.123 102.0);
Tailwind
colors: {
  custom: {
    50: '#fff4ae',
    500: '#fcef8a',
    950: '#000000',
  },
}
SCSS
$custom: #fcef8a;
$custom-light: #fff4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#fcef8a",
  "rgb": {
    "r": 252,
    "g": 239,
    "b": 138
  },
  "hsl": {
    "h": 53.158,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.94142,
    "c": 0.12328,
    "h": 102
  },
  "luminance": 0.84263
}

Semantic roles & 50–950 ramp

primary
#FCEF8A
secondary
#4F5FDC
accent
#1AE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCEF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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