#FDEC7C#FDEC7C

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

Color values

HEX#FDEC7C
RGBrgb(253, 236, 124)
HSLhsl(52, 97%, 74%)
HSVhsv(52, 51%, 99%)
CMYKcmyk(0%, 6.7%, 51%, 0.8%)
CIE-LABlab(92.72, -8.35, 55.81)
CIE-LCHlch(92.72, 56.43, 98.51°)
OKLaboklab(93.44% -0.0252 0.1319)
OKLCHoklch(93.44% 0.134 100.8)
XYZxyz(74.1438, 82.3314, 31.0509)
Luminance0.8233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDEC7C #7C8DFD
analogous
#FDAC7C #FDEC7C #CEFD7C
triadic
#FDEC7C #7CFDEC #EC7CFD
tetradic
#FDEC7C #7CFDAC #7C8DFD #FD7CCE
square
#FDEC7C #7CFDAC #7C8DFD #FD7CCE
split-complementary
#FDEC7C #7CCEFD #AC7CFD
monochromatic
#FBDA04 #FCE340 #FDEC7C #FEF5B8 #FFFBE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FDEC7C#FFFFFF#000000##000000
##FDEC7C1.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)
#FEE672
Deuteranopia (green-blind)
#FFED81
Tritanopia (blue-blind)
#FFDED2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #fdec7c;
/* rgb */ color: rgb(253, 236, 124);
/* oklch */ color: oklch(93.4% 0.134 100.8);
Tailwind
colors: {
  custom: {
    50: '#fff1a4',
    500: '#fdec7c',
    950: '#000000',
  },
}
SCSS
$custom: #fdec7c;
$custom-light: #fff1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fdec7c",
  "rgb": {
    "r": 253,
    "g": 236,
    "b": 124
  },
  "hsl": {
    "h": 52.093,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.93438,
    "c": 0.13425,
    "h": 100.8
  },
  "luminance": 0.82329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDEC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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