#DDD787#DDD787

#DDD787 is a very light, moderate yellow. Relative luminance 0.657; OKLCH L 86.6% C 0.101 H 104.6°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#DDD787
RGBrgb(221, 215, 135)
HSLhsl(56, 56%, 70%)
HSVhsv(56, 39%, 87%)
CMYKcmyk(0%, 2.7%, 38.9%, 13.3%)
CIE-LABlab(84.86, -9.42, 40.20)
CIE-LCHlch(84.86, 41.29, 103.19°)
OKLaboklab(86.62% -0.0256 0.0982)
OKLCHoklch(86.62% 0.101 104.6)
XYZxyz(58.4933, 65.7237, 32.5216)
Luminance0.6572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD787 #878DDD
analogous
#DDAC87 #DDD787 #B8DD87
triadic
#DDD787 #87DDD7 #D787DD
tetradic
#DDD787 #87DDAC #878DDD #DD87B8
square
#DDD787 #87DDAC #878DDD #DD87B8
split-complementary
#DDD787 #87B8DD #AC87DD
monochromatic
#B6AD34 #CFC757 #DDD787 #EBE7B7 #F8F7E6

Accessibility & contrast

On white

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

On black

14.14
#DDD787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD787
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD787#FFFFFF#000000##000000
##DDD7871.001.4814.1414.14
#FFFFFF1.481.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D281
Deuteranopia (green-blind)
#E7D68A
Tritanopia (blue-blind)
#E9CDC3
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ddd787;
/* rgb */ color: rgb(221, 215, 135);
/* oklch */ color: oklch(86.6% 0.101 104.6);
Tailwind
colors: {
  custom: {
    50: '#e9e3ab',
    500: '#ddd787',
    950: '#000000',
  },
}
SCSS
$custom: #ddd787;
$custom-light: #e9e3ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd787",
  "rgb": {
    "r": 221,
    "g": 215,
    "b": 135
  },
  "hsl": {
    "h": 55.814,
    "s": 55.844,
    "l": 69.804
  },
  "oklch": {
    "l": 0.86615,
    "c": 0.10146,
    "h": 104.6
  },
  "luminance": 0.65722
}

Semantic roles & 50–950 ramp

primary
#DDD787
secondary
#545BB4
accent
#2DC322
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DDD787

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

Preview Lab → · Contrast checker → · Palette generator →

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