#DED997#DED997

#DED997 is a very light, moderate yellow. Relative luminance 0.674; OKLCH L 87.4% C 0.085 H 104.3°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#DED997
RGBrgb(222, 217, 151)
HSLhsl(56, 52%, 73%)
HSVhsv(56, 32%, 87%)
CMYKcmyk(0%, 2.3%, 32%, 12.9%)
CIE-LABlab(85.70, -8.20, 33.20)
CIE-LCHlch(85.70, 34.20, 103.88°)
OKLaboklab(87.39% -0.0211 0.0826)
OKLCHoklch(87.39% 0.085 104.3)
XYZxyz(60.5235, 67.3909, 39.0916)
Luminance0.6739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED997 #979CDE
analogous
#DEB597 #DED997 #BFDE97
triadic
#DED997 #97DED9 #D997DE
tetradic
#DED997 #97DEB5 #979CDE #DE97BF
square
#DED997 #97DEB5 #979CDE #DE97BF
split-complementary
#DED997 #97BFDE #B597DE
monochromatic
#BEB53C #CFC869 #DED997 #EDEAC5 #F8F7E8

Accessibility & contrast

On white

1.45
#DED997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#DED997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED997
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED997#FFFFFF#000000##000000
##DED9971.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D492
Deuteranopia (green-blind)
#E6D89A
Tritanopia (blue-blind)
#E8D1C8
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ded997;
/* rgb */ color: rgb(222, 217, 151);
/* oklch */ color: oklch(87.4% 0.085 104.3);
Tailwind
colors: {
  custom: {
    50: '#e9e4b6',
    500: '#ded997',
    950: '#000000',
  },
}
SCSS
$custom: #ded997;
$custom-light: #e9e4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ded997",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 151
  },
  "hsl": {
    "h": 55.775,
    "s": 51.825,
    "l": 73.137
  },
  "oklch": {
    "l": 0.87385,
    "c": 0.08523,
    "h": 104.3
  },
  "luminance": 0.6739
}

Semantic roles & 50–950 ramp

primary
#DED997
secondary
#6369B6
accent
#31BF26
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DED997

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

Preview Lab → · Contrast checker → · Palette generator →

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