#DDD796#DDD796

#DDD796 is a very light, moderate yellow. Relative luminance 0.662; OKLCH L 86.9% C 0.084 H 103.5°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#DDD796
RGBrgb(221, 215, 150)
HSLhsl(55, 51%, 73%)
HSVhsv(55, 32%, 87%)
CMYKcmyk(0%, 2.7%, 32.1%, 13.3%)
CIE-LABlab(85.09, -7.69, 32.88)
CIE-LCHlch(85.09, 33.77, 103.17°)
OKLaboklab(86.87% -0.0197 0.0818)
OKLCHoklch(86.87% 0.084 103.5)
XYZxyz(59.6248, 66.1763, 38.4806)
Luminance0.6617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD796 #969CDD
analogous
#DDB496 #DDD796 #BFDD96
triadic
#DDD796 #96DDD7 #D796DD
tetradic
#DDD796 #96DDB4 #969CDD #DD96BF
square
#DDD796 #96DDB4 #969CDD #DD96BF
split-complementary
#DDD796 #96BFDD #B496DD
monochromatic
#BCB13D #CEC568 #DDD796 #ECE9C4 #F8F6E8

Accessibility & contrast

On white

1.48
#DDD796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.24
#DDD796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD796
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD796#FFFFFF#000000##000000
##DDD7961.001.4814.2414.24
#FFFFFF1.481.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D292
Deuteranopia (green-blind)
#E5D698
Tritanopia (blue-blind)
#E7CFC6
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ddd796;
/* rgb */ color: rgb(221, 215, 150);
/* oklch */ color: oklch(86.9% 0.084 103.5);
Tailwind
colors: {
  custom: {
    50: '#e8e3b5',
    500: '#ddd796',
    950: '#000000',
  },
}
SCSS
$custom: #ddd796;
$custom-light: #e8e3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd796",
  "rgb": {
    "r": 221,
    "g": 215,
    "b": 150
  },
  "hsl": {
    "h": 54.93,
    "s": 51.079,
    "l": 72.745
  },
  "oklch": {
    "l": 0.86874,
    "c": 0.08414,
    "h": 103.5
  },
  "luminance": 0.66175
}

Semantic roles & 50–950 ramp

primary
#DDD796
secondary
#6269B5
accent
#34BE27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DDD796

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

Preview Lab → · Contrast checker → · Palette generator →

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