#DDDC98#DDDC98

#DDDC98 is a very light, moderate yellow. Relative luminance 0.688; OKLCH L 87.9% C 0.088 H 107.4°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#DDDC98
RGBrgb(221, 220, 152)
HSLhsl(59, 50%, 73%)
HSVhsv(59, 31%, 87%)
CMYKcmyk(0%, 0.5%, 31.2%, 13.3%)
CIE-LABlab(86.42, -9.98, 33.62)
CIE-LCHlch(86.42, 35.07, 106.53°)
OKLaboklab(87.94% -0.0261 0.0836)
OKLCHoklch(87.94% 0.088 107.4)
XYZxyz(61.0799, 68.8266, 39.7669)
Luminance0.6883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDDC98 #9899DD
analogous
#DDB998 #DDDC98 #BBDD98
triadic
#DDDC98 #98DDDC #DC98DD
tetradic
#DDDC98 #98DDB9 #9899DD #DD98BB
square
#DDDC98 #98DDB9 #9899DD #DD98BB
split-complementary
#DDDC98 #98BBDD #B998DD
monochromatic
#BCBB3E #CECC6A #DDDC98 #ECECC6 #F7F7E8

Accessibility & contrast

On white

1.42
#DDDC98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.77
#DDDC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDDC98
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDDC98#FFFFFF#000000##000000
##DDDC981.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D793
Deuteranopia (green-blind)
#E8DA9B
Tritanopia (blue-blind)
#E7D4CA
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dddc98;
/* rgb */ color: rgb(221, 220, 152);
/* oklch */ color: oklch(87.9% 0.088 107.4);
Tailwind
colors: {
  custom: {
    50: '#e8e6b7',
    500: '#dddc98',
    950: '#000000',
  },
}
SCSS
$custom: #dddc98;
$custom-light: #e8e6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dddc98",
  "rgb": {
    "r": 221,
    "g": 220,
    "b": 152
  },
  "hsl": {
    "h": 59.13,
    "s": 50.365,
    "l": 73.137
  },
  "oklch": {
    "l": 0.8794,
    "c": 0.08759,
    "h": 107.4
  },
  "luminance": 0.68826
}

Semantic roles & 50–950 ramp

primary
#DDDC98
secondary
#6465B5
accent
#2ABE28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DDDC98

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

Preview Lab → · Contrast checker → · Palette generator →

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