#FCE87E#FCE87E

#FCE87E is a very light, vivid yellow. Relative luminance 0.799; OKLCH L 92.6% C 0.129 H 98.9°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#FCE87E
RGBrgb(252, 232, 126)
HSLhsl(50, 95%, 74%)
HSVhsv(50, 50%, 99%)
CMYKcmyk(0%, 7.9%, 50%, 1.2%)
CIE-LABlab(91.65, -6.59, 53.57)
CIE-LCHlch(91.65, 53.97, 97.01°)
OKLaboklab(92.58% -0.0198 0.1272)
OKLCHoklch(92.58% 0.129 98.9)
XYZxyz(72.7696, 79.9177, 31.3271)
Luminance0.7992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCE87E #7E92FC
analogous
#FCA97E #FCE87E #D1FC7E
triadic
#FCE87E #7EFCE8 #E87EFC
tetradic
#FCE87E #7EFCA9 #7E92FC #FC7ED1
square
#FCE87E #7EFCA9 #7E92FC #FC7ED1
split-complementary
#FCE87E #7ED1FC #A97EFC
monochromatic
#F9D306 #FBDD42 #FCE87E #FDF3BA #FEFAE1

Accessibility & contrast

On white

1.24
#FCE87E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.98
#FCE87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCE87E
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCE87E#FFFFFF#000000##000000
##FCE87E1.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE375
Deuteranopia (green-blind)
#FFEA83
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fce87e;
/* rgb */ color: rgb(252, 232, 126);
/* oklch */ color: oklch(92.6% 0.129 98.9);
Tailwind
colors: {
  custom: {
    50: '#ffefa6',
    500: '#fce87e',
    950: '#000000',
  },
}
SCSS
$custom: #fce87e;
$custom-light: #ffefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#fce87e",
  "rgb": {
    "r": 252,
    "g": 232,
    "b": 126
  },
  "hsl": {
    "h": 50.476,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.92575,
    "c": 0.12868,
    "h": 98.9
  },
  "luminance": 0.79915
}

Semantic roles & 50–950 ramp

primary
#FCE87E
secondary
#445CDA
accent
#24E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FCE87E

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

Preview Lab → · Contrast checker → · Palette generator →

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