#DDD98C#DDD98C

#DDD98C is a very light, moderate yellow. Relative luminance 0.669; OKLCH L 87.1% C 0.098 H 105.7°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#DDD98C
RGBrgb(221, 217, 140)
HSLhsl(57, 54%, 71%)
HSVhsv(57, 37%, 87%)
CMYKcmyk(0%, 1.8%, 36.7%, 13.3%)
CIE-LABlab(85.45, -9.88, 38.45)
CIE-LCHlch(85.45, 39.70, 104.41°)
OKLaboklab(87.11% -0.0265 0.0944)
OKLCHoklch(87.11% 0.098 105.7)
XYZxyz(59.3661, 66.8926, 34.5901)
Luminance0.6689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD98C #8C90DD
analogous
#DDB08C #DDD98C #B8DD8C
triadic
#DDD98C #8CDDD9 #D98CDD
tetradic
#DDD98C #8CDDB0 #8C90DD #DD8CB8
square
#DDD98C #8CDDB0 #8C90DD #DD8CB8
split-complementary
#DDD98C #8CB8DD #B08CDD
monochromatic
#B8B236 #CFC95D #DDD98C #EBE9BB #F8F7E7

Accessibility & contrast

On white

1.46
#DDD98C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#DDD98C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD98C
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD98C#FFFFFF#000000##000000
##DDD98C1.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D386
Deuteranopia (green-blind)
#E7D78F
Tritanopia (blue-blind)
#E8D0C6
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ddd98c;
/* rgb */ color: rgb(221, 217, 140);
/* oklch */ color: oklch(87.1% 0.098 105.7);
Tailwind
colors: {
  custom: {
    50: '#e9e4ae',
    500: '#ddd98c',
    950: '#000000',
  },
}
SCSS
$custom: #ddd98c;
$custom-light: #e9e4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd98c",
  "rgb": {
    "r": 221,
    "g": 217,
    "b": 140
  },
  "hsl": {
    "h": 57.037,
    "s": 54.362,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87111,
    "c": 0.09805,
    "h": 105.7
  },
  "luminance": 0.66891
}

Semantic roles & 50–950 ramp

primary
#DDD98C
secondary
#595DB4
accent
#2BC224
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DDD98C

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

Preview Lab → · Contrast checker → · Palette generator →

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