#FDEC7D#FDEC7D

#FDEC7D is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 93.5% C 0.133 H 100.7°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#FDEC7D
RGBrgb(253, 236, 125)
HSLhsl(52, 97%, 74%)
HSVhsv(52, 51%, 99%)
CMYKcmyk(0%, 6.7%, 50.6%, 0.8%)
CIE-LABlab(92.73, -8.27, 55.35)
CIE-LCHlch(92.73, 55.97, 98.50°)
OKLaboklab(93.45% -0.0248 0.131)
OKLCHoklch(93.45% 0.133 100.7)
XYZxyz(74.2074, 82.3569, 31.3856)
Luminance0.8235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDEC7D #7D8EFD
analogous
#FDAC7D #FDEC7D #CEFD7D
triadic
#FDEC7D #7DFDEC #EC7DFD
tetradic
#FDEC7D #7DFDAC #7D8EFD #FD7DCE
square
#FDEC7D #7DFDAC #7D8EFD #FD7DCE
split-complementary
#FDEC7D #7DCEFD #AC7DFD
monochromatic
#FBDA04 #FCE341 #FDEC7D #FEF5B9 #FFFBE1

Accessibility & contrast

On white

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

On black

17.47
#FDEC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDEC7D
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDEC7D#FFFFFF#000000##000000
##FDEC7D1.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE673
Deuteranopia (green-blind)
#FFED82
Tritanopia (blue-blind)
#FFDED2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #fdec7d;
/* rgb */ color: rgb(253, 236, 125);
/* oklch */ color: oklch(93.5% 0.133 100.7);
Tailwind
colors: {
  custom: {
    50: '#fff1a5',
    500: '#fdec7d',
    950: '#000000',
  },
}
SCSS
$custom: #fdec7d;
$custom-light: #fff1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fdec7d",
  "rgb": {
    "r": 253,
    "g": 236,
    "b": 125
  },
  "hsl": {
    "h": 52.031,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.9345,
    "c": 0.1333,
    "h": 100.7
  },
  "luminance": 0.82354
}

Semantic roles & 50–950 ramp

primary
#FDEC7D
secondary
#4357DB
accent
#1EE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FDEC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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