#DDD797#DDD797

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

Color values

HEX#DDD797
RGBrgb(221, 215, 151)
HSLhsl(55, 51%, 73%)
HSVhsv(55, 32%, 87%)
CMYKcmyk(0%, 2.7%, 31.7%, 13.3%)
CIE-LABlab(85.10, -7.57, 32.39)
CIE-LCHlch(85.10, 33.27, 103.16°)
OKLaboklab(86.89% -0.0193 0.0807)
OKLCHoklch(86.89% 0.083 103.4)
XYZxyz(59.7057, 66.2086, 38.9065)
Luminance0.6621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD797 #979DDD
analogous
#DDB497 #DDD797 #C0DD97
triadic
#DDD797 #97DDD7 #D797DD
tetradic
#DDD797 #97DDB4 #979DDD #DD97C0
square
#DDD797 #97DDB4 #979DDD #DD97C0
split-complementary
#DDD797 #97C0DD #B497DD
monochromatic
#BCB13D #CEC569 #DDD797 #ECE9C5 #F7F6E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DDD797#FFFFFF#000000##000000
##DDD7971.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D293
Deuteranopia (green-blind)
#E5D699
Tritanopia (blue-blind)
#E7CFC6
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ddd797;
/* rgb */ color: rgb(221, 215, 151);
/* oklch */ color: oklch(86.9% 0.083 103.4);
Tailwind
colors: {
  custom: {
    50: '#e8e3b6',
    500: '#ddd797',
    950: '#000000',
  },
}
SCSS
$custom: #ddd797;
$custom-light: #e8e3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd797",
  "rgb": {
    "r": 221,
    "g": 215,
    "b": 151
  },
  "hsl": {
    "h": 54.857,
    "s": 50.725,
    "l": 72.941
  },
  "oklch": {
    "l": 0.86892,
    "c": 0.08295,
    "h": 103.4
  },
  "luminance": 0.66207
}

Semantic roles & 50–950 ramp

primary
#DDD797
secondary
#636AB5
accent
#34BE27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DDD797

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

Preview Lab → · Contrast checker → · Palette generator →

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