#FDEC7B#FDEC7B

#FDEC7B is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.4% C 0.135 H 100.9°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#FDEC7B
RGBrgb(253, 236, 123)
HSLhsl(52, 97%, 74%)
HSVhsv(52, 51%, 99%)
CMYKcmyk(0%, 6.7%, 51.4%, 0.8%)
CIE-LABlab(92.71, -8.43, 56.26)
CIE-LCHlch(92.71, 56.89, 98.53°)
OKLaboklab(93.43% -0.0255 0.1328)
OKLCHoklch(93.43% 0.135 100.9)
XYZxyz(74.0809, 82.3063, 30.7195)
Luminance0.8230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDEC7B #7B8CFD
analogous
#FDAB7B #FDEC7B #CDFD7B
triadic
#FDEC7B #7BFDEC #EC7BFD
tetradic
#FDEC7B #7BFDAB #7B8CFD #FD7BCD
square
#FDEC7B #7BFDAB #7B8CFD #FD7BCD
split-complementary
#FDEC7B #7BCDFD #AB7BFD
monochromatic
#FADA04 #FCE33F #FDEC7B #FEF5B7 #FFFBE1

Accessibility & contrast

On white

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

On black

17.46
#FDEC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDEC7B
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDEC7B#FFFFFF#000000##000000
##FDEC7B1.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdec7b;
/* rgb */ color: rgb(253, 236, 123);
/* oklch */ color: oklch(93.4% 0.135 100.9);
Tailwind
colors: {
  custom: {
    50: '#fff1a4',
    500: '#fdec7b',
    950: '#000000',
  },
}
SCSS
$custom: #fdec7b;
$custom-light: #fff1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fdec7b",
  "rgb": {
    "r": 253,
    "g": 236,
    "b": 123
  },
  "hsl": {
    "h": 52.154,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.93425,
    "c": 0.1352,
    "h": 100.9
  },
  "luminance": 0.82304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDEC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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