#FDEC8D#FDEC8D

#FDEC8D is a very light, moderate yellow. Relative luminance 0.828; OKLCH L 93.7% C 0.117 H 99.4°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#FDEC8D
RGBrgb(253, 236, 141)
HSLhsl(51, 97%, 77%)
HSVhsv(51, 44%, 99%)
CMYKcmyk(0%, 6.7%, 44.3%, 0.8%)
CIE-LABlab(92.93, -6.83, 47.98)
CIE-LCHlch(92.93, 48.46, 98.10°)
OKLaboklab(93.67% -0.0191 0.1158)
OKLCHoklch(93.67% 0.117 99.4)
XYZxyz(75.3131, 82.7991, 37.2088)
Luminance0.8280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDEC8D #8D9EFD
analogous
#FDB48D #FDEC8D #D6FD8D
triadic
#FDEC8D #8DFDEC #EC8DFD
tetradic
#FDEC8D #8DFDB4 #8D9EFD #FD8DD6
square
#FDEC8D #8DFDB4 #8D9EFD #FD8DD6
split-complementary
#FDEC8D #8DD6FD #B48DFD
monochromatic
#FBD815 #FCE251 #FDEC8D #FEF6C9 #FEFAE1

Accessibility & contrast

On white

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

On black

17.56
#FDEC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDEC8D
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDEC8D#FFFFFF#000000##000000
##FDEC8D1.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE785
Deuteranopia (green-blind)
#FFEE91
Tritanopia (blue-blind)
#FFE0D5
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #fdec8d;
/* rgb */ color: rgb(253, 236, 141);
/* oklch */ color: oklch(93.7% 0.117 99.4);
Tailwind
colors: {
  custom: {
    50: '#fff2b0',
    500: '#fdec8d',
    950: '#000000',
  },
}
SCSS
$custom: #fdec8d;
$custom-light: #fff2b0;
$custom-dark: #000000;
JSON
{
  "hex": "#fdec8d",
  "rgb": {
    "r": 253,
    "g": 236,
    "b": 141
  },
  "hsl": {
    "h": 50.893,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.93667,
    "c": 0.11737,
    "h": 99.4
  },
  "luminance": 0.82797
}

Semantic roles & 50–950 ramp

primary
#FDEC8D
secondary
#5166DD
accent
#23E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FDEC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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