#DED796#DED796

#DED796 is a very light, moderate yellow. Relative luminance 0.663; OKLCH L 87.0% C 0.084 H 102.8°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#DED796
RGBrgb(222, 215, 150)
HSLhsl(54, 52%, 73%)
HSVhsv(54, 32%, 87%)
CMYKcmyk(0%, 3.2%, 32.4%, 12.9%)
CIE-LABlab(85.17, -7.31, 33.00)
CIE-LCHlch(85.17, 33.80, 102.49°)
OKLaboklab(86.96% -0.0186 0.0821)
OKLCHoklch(86.96% 0.084 102.8)
XYZxyz(59.9303, 66.3338, 38.4949)
Luminance0.6633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED796 #969DDE
analogous
#DEB396 #DED796 #C1DE96
triadic
#DED796 #96DED7 #D796DE
tetradic
#DED796 #96DEB3 #969DDE #DE96C1
square
#DED796 #96DEB3 #969DDE #DE96C1
split-complementary
#DED796 #96C1DE #B396DE
monochromatic
#BEB13C #CFC567 #DED796 #EDE9C5 #F8F6E8

Accessibility & contrast

On white

1.47
#DED796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#DED796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED796
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED796#FFFFFF#000000##000000
##DED7961.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D392
Deuteranopia (green-blind)
#E5D798
Tritanopia (blue-blind)
#E8CEC6
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ded796;
/* rgb */ color: rgb(222, 215, 150);
/* oklch */ color: oklch(87.0% 0.084 102.8);
Tailwind
colors: {
  custom: {
    50: '#e9e3b5',
    500: '#ded796',
    950: '#000000',
  },
}
SCSS
$custom: #ded796;
$custom-light: #e9e3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ded796",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 150
  },
  "hsl": {
    "h": 54.167,
    "s": 52.174,
    "l": 72.941
  },
  "oklch": {
    "l": 0.86956,
    "c": 0.08417,
    "h": 102.8
  },
  "luminance": 0.66332
}

Semantic roles & 50–950 ramp

primary
#DED796
secondary
#626AB6
accent
#35C026
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DED796

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

Preview Lab → · Contrast checker → · Palette generator →

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