#FDEC87#FDEC87

#FDEC87 is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 93.6% C 0.123 H 99.9°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#FDEC87
RGBrgb(253, 236, 135)
HSLhsl(51, 97%, 76%)
HSVhsv(51, 47%, 99%)
CMYKcmyk(0%, 6.7%, 46.6%, 0.8%)
CIE-LABlab(92.85, -7.39, 50.77)
CIE-LCHlch(92.85, 51.31, 98.28°)
OKLaboklab(93.58% -0.0213 0.1217)
OKLCHoklch(93.58% 0.124 99.9)
XYZxyz(74.8787, 82.6254, 34.9210)
Luminance0.8262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDEC87 #8798FD
analogous
#FDB187 #FDEC87 #D3FD87
triadic
#FDEC87 #87FDEC #EC87FD
tetradic
#FDEC87 #87FDB1 #8798FD #FD87D3
square
#FDEC87 #87FDB1 #8798FD #FD87D3
split-complementary
#FDEC87 #87D3FD #B187FD
monochromatic
#FBD90F #FCE24B #FDEC87 #FEF6C3 #FEFAE1

Accessibility & contrast

On white

1.20
#FDEC87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.52
#FDEC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDEC87
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDEC87#FFFFFF#000000##000000
##FDEC871.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdec87;
/* rgb */ color: rgb(253, 236, 135);
/* oklch */ color: oklch(93.6% 0.123 99.9);
Tailwind
colors: {
  custom: {
    50: '#fff1ac',
    500: '#fdec87',
    950: '#000000',
  },
}
SCSS
$custom: #fdec87;
$custom-light: #fff1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#fdec87",
  "rgb": {
    "r": 253,
    "g": 236,
    "b": 135
  },
  "hsl": {
    "h": 51.356,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.93582,
    "c": 0.1235,
    "h": 99.9
  },
  "luminance": 0.82623
}

Semantic roles & 50–950 ramp

primary
#FDEC87
secondary
#4C61DC
accent
#21E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FDEC87

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

Preview Lab → · Contrast checker → · Palette generator →

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