#FDEC97#FDEC97

#FDEC97 is a very light, moderate yellow. Relative luminance 0.831; OKLCH L 93.8% C 0.107 H 98.3°. Best body text is #000000 at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#FDEC97
RGBrgb(253, 236, 151)
HSLhsl(50, 96%, 79%)
HSVhsv(50, 40%, 99%)
CMYKcmyk(0%, 6.7%, 40.3%, 0.8%)
CIE-LABlab(93.06, -5.83, 43.26)
CIE-LCHlch(93.06, 43.65, 97.68°)
OKLaboklab(93.82% -0.0154 0.1057)
OKLCHoklch(93.82% 0.107 98.3)
XYZxyz(76.0910, 83.1103, 41.3058)
Luminance0.8311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDEC97 #97A8FD
analogous
#FDB997 #FDEC97 #DBFD97
triadic
#FDEC97 #97FDEC #EC97FD
tetradic
#FDEC97 #97FDB9 #97A8FD #FD97DB
square
#FDEC97 #97FDB9 #97A8FD #FD97DB
split-complementary
#FDEC97 #97DBFD #B997FD
monochromatic
#FBD61F #FCE15B #FDEC97 #FEF7D3 #FEFAE1

Accessibility & contrast

On white

1.19
#FDEC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.62
#FDEC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDEC97
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDEC97#FFFFFF#000000##000000
##FDEC971.001.1917.6217.62
#FFFFFF1.191.0021.0021.00
#00000017.6221.001.001.00
##00000017.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE791
Deuteranopia (green-blind)
#FFEE9A
Tritanopia (blue-blind)
#FFE1D7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #fdec97;
/* rgb */ color: rgb(253, 236, 151);
/* oklch */ color: oklch(93.8% 0.107 98.3);
Tailwind
colors: {
  custom: {
    50: '#fff2b6',
    500: '#fdec97',
    950: '#000000',
  },
}
SCSS
$custom: #fdec97;
$custom-light: #fff2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fdec97",
  "rgb": {
    "r": 253,
    "g": 236,
    "b": 151
  },
  "hsl": {
    "h": 50,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.93819,
    "c": 0.10677,
    "h": 98.3
  },
  "luminance": 0.83108
}

Semantic roles & 50–950 ramp

primary
#FDEC97
secondary
#5970DF
accent
#26E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FDEC97

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

Preview Lab → · Contrast checker → · Palette generator →

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