#FCEF86#FCEF86

#FCEF86 is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 94.1% C 0.127 H 102.3°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#FCEF86
RGBrgb(252, 239, 134)
HSLhsl(53, 95%, 76%)
HSVhsv(53, 47%, 99%)
CMYKcmyk(0%, 5.2%, 46.8%, 1.2%)
CIE-LABlab(93.52, -9.37, 52.05)
CIE-LCHlch(93.52, 52.88, 100.20°)
OKLaboklab(94.09% -0.027 0.1244)
OKLCHoklch(94.09% 0.127 102.3)
XYZxyz(75.3164, 84.1521, 34.8252)
Luminance0.8415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCEF86 #8693FC
analogous
#FCB486 #FCEF86 #CEFC86
triadic
#FCEF86 #86FCEF #EF86FC
tetradic
#FCEF86 #86FCB4 #8693FC #FC86CE
square
#FCEF86 #86FCB4 #8693FC #FC86CE
split-complementary
#FCEF86 #86CEFC #B486FC
monochromatic
#F9DF0F #FBE74A #FCEF86 #FDF7C2 #FEFBE1

Accessibility & contrast

On white

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

On black

17.83
#FCEF86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCEF86
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCEF86#FFFFFF#000000##000000
##FCEF861.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE97D
Deuteranopia (green-blind)
#FFEF8B
Tritanopia (blue-blind)
#FFE2D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fcef86;
/* rgb */ color: rgb(252, 239, 134);
/* oklch */ color: oklch(94.1% 0.127 102.3);
Tailwind
colors: {
  custom: {
    50: '#fff4ab',
    500: '#fcef86',
    950: '#000000',
  },
}
SCSS
$custom: #fcef86;
$custom-light: #fff4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fcef86",
  "rgb": {
    "r": 252,
    "g": 239,
    "b": 134
  },
  "hsl": {
    "h": 53.39,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.94087,
    "c": 0.12732,
    "h": 102.3
  },
  "luminance": 0.8415
}

Semantic roles & 50–950 ramp

primary
#FCEF86
secondary
#4B5BDB
accent
#19E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCEF86

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

Preview Lab → · Contrast checker → · Palette generator →

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