#FDEC8F#FDEC8F

#FDEC8F is a very light, moderate yellow. Relative luminance 0.829; OKLCH L 93.7% C 0.115 H 99.2°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#FDEC8F
RGBrgb(253, 236, 143)
HSLhsl(51, 96%, 78%)
HSVhsv(51, 43%, 99%)
CMYKcmyk(0%, 6.7%, 43.5%, 0.8%)
CIE-LABlab(92.95, -6.64, 47.04)
CIE-LCHlch(92.95, 47.50, 98.03°)
OKLaboklab(93.7% -0.0184 0.1138)
OKLCHoklch(93.7% 0.115 99.2)
XYZxyz(75.4632, 82.8592, 37.9996)
Luminance0.8286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDEC8F #8FA0FD
analogous
#FDB58F #FDEC8F #D7FD8F
triadic
#FDEC8F #8FFDEC #EC8FFD
tetradic
#FDEC8F #8FFDB5 #8FA0FD #FD8FD7
square
#FDEC8F #8FFDB5 #8FA0FD #FD8FD7
split-complementary
#FDEC8F #8FD7FD #B58FFD
monochromatic
#FBD817 #FCE253 #FDEC8F #FEF6CB #FEFAE1

Accessibility & contrast

On white

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

On black

17.57
#FDEC8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDEC8F
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDEC8F#FFFFFF#000000##000000
##FDEC8F1.001.2017.5717.57
#FFFFFF1.201.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdec8f;
/* rgb */ color: rgb(253, 236, 143);
/* oklch */ color: oklch(93.7% 0.115 99.2);
Tailwind
colors: {
  custom: {
    50: '#fff2b1',
    500: '#fdec8f',
    950: '#000000',
  },
}
SCSS
$custom: #fdec8f;
$custom-light: #fff2b1;
$custom-dark: #000000;
JSON
{
  "hex": "#fdec8f",
  "rgb": {
    "r": 253,
    "g": 236,
    "b": 143
  },
  "hsl": {
    "h": 50.727,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.93696,
    "c": 0.11528,
    "h": 99.2
  },
  "luminance": 0.82857
}

Semantic roles & 50–950 ramp

primary
#FDEC8F
secondary
#5368DE
accent
#23E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FDEC8F

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

Preview Lab → · Contrast checker → · Palette generator →

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