#DED996#DED996

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

Color values

HEX#DED996
RGBrgb(222, 217, 150)
HSLhsl(56, 52%, 73%)
HSVhsv(56, 32%, 87%)
CMYKcmyk(0%, 2.3%, 32.4%, 12.9%)
CIE-LABlab(85.68, -8.33, 33.69)
CIE-LCHlch(85.68, 34.70, 103.88°)
OKLaboklab(87.37% -0.0215 0.0837)
OKLCHoklch(87.37% 0.086 104.4)
XYZxyz(60.4426, 67.3586, 38.6657)
Luminance0.6736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED996 #969BDE
analogous
#DEB596 #DED996 #BFDE96
triadic
#DED996 #96DED9 #D996DE
tetradic
#DED996 #96DEB5 #969BDE #DE96BF
square
#DED996 #96DEB5 #969BDE #DE96BF
split-complementary
#DED996 #96BFDE #B596DE
monochromatic
#BEB53C #CFC867 #DED996 #EDEAC5 #F8F7E8

Accessibility & contrast

On white

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

On black

14.47
#DED996 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED996
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED996#FFFFFF#000000##000000
##DED9961.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D491
Deuteranopia (green-blind)
#E7D899
Tritanopia (blue-blind)
#E8D0C8
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ded996;
/* rgb */ color: rgb(222, 217, 150);
/* oklch */ color: oklch(87.4% 0.086 104.4);
Tailwind
colors: {
  custom: {
    50: '#e9e4b5',
    500: '#ded996',
    950: '#000000',
  },
}
SCSS
$custom: #ded996;
$custom-light: #e9e4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ded996",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 150
  },
  "hsl": {
    "h": 55.833,
    "s": 52.174,
    "l": 72.941
  },
  "oklch": {
    "l": 0.87367,
    "c": 0.08641,
    "h": 104.4
  },
  "luminance": 0.67357
}

Semantic roles & 50–950 ramp

primary
#DED996
secondary
#6268B6
accent
#31C026
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DED996

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

Preview Lab → · Contrast checker → · Palette generator →

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