#DDD982#DDD982

#DDD982 is a very light, moderate yellow. Relative luminance 0.666; OKLCH L 87.0% C 0.109 H 106.2°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#DDD982
RGBrgb(221, 217, 130)
HSLhsl(57, 57%, 69%)
HSVhsv(57, 41%, 87%)
CMYKcmyk(0%, 1.8%, 41.2%, 13.3%)
CIE-LABlab(85.31, -10.96, 43.26)
CIE-LCHlch(85.31, 44.63, 104.22°)
OKLaboklab(86.95% -0.0304 0.1049)
OKLCHoklch(86.95% 0.109 106.2)
XYZxyz(58.6619, 66.6110, 30.8818)
Luminance0.6661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD982 #8286DD
analogous
#DDAC82 #DDD982 #B4DD82
triadic
#DDD982 #82DDD9 #D982DD
tetradic
#DDD982 #82DDAC #8286DD #DD82B4
square
#DDD982 #82DDAC #8286DD #DD82B4
split-complementary
#DDD982 #82B4DD #AC82DD
monochromatic
#B4AE31 #D0CA52 #DDD982 #EAE8B2 #F7F6E2

Accessibility & contrast

On white

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

On black

14.32
#DDD982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD982
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD982#FFFFFF#000000##000000
##DDD9821.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D37B
Deuteranopia (green-blind)
#E9D786
Tritanopia (blue-blind)
#E9CFC4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ddd982;
/* rgb */ color: rgb(221, 217, 130);
/* oklch */ color: oklch(87.0% 0.109 106.2);
Tailwind
colors: {
  custom: {
    50: '#e9e4a7',
    500: '#ddd982',
    950: '#000000',
  },
}
SCSS
$custom: #ddd982;
$custom-light: #e9e4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd982",
  "rgb": {
    "r": 221,
    "g": 217,
    "b": 130
  },
  "hsl": {
    "h": 57.363,
    "s": 57.233,
    "l": 68.824
  },
  "oklch": {
    "l": 0.86951,
    "c": 0.1092,
    "h": 106.2
  },
  "luminance": 0.6661
}

Semantic roles & 50–950 ramp

primary
#DDD982
secondary
#4F54B4
accent
#28C521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#161510
muted
#848480

Preview Lab

Preview with #DDD982

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

Preview Lab → · Contrast checker → · Palette generator →

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