#DDDC97#DDDC97

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

Color values

HEX#DDDC97
RGBrgb(221, 220, 151)
HSLhsl(59, 51%, 73%)
HSVhsv(59, 32%, 87%)
CMYKcmyk(0%, 0.5%, 31.7%, 13.3%)
CIE-LABlab(86.40, -10.10, 34.11)
CIE-LCHlch(86.40, 35.58, 106.50°)
OKLaboklab(87.92% -0.0265 0.0847)
OKLCHoklch(87.92% 0.089 107.4)
XYZxyz(60.9983, 68.7940, 39.3374)
Luminance0.6879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDDC97 #9798DD
analogous
#DDB997 #DDDC97 #BBDD97
triadic
#DDDC97 #97DDDC #DC97DD
tetradic
#DDDC97 #97DDB9 #9798DD #DD97BB
square
#DDDC97 #97DDB9 #9798DD #DD97BB
split-complementary
#DDDC97 #97BBDD #B997DD
monochromatic
#BCBA3D #CECC69 #DDDC97 #ECECC5 #F7F7E8

Accessibility & contrast

On white

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

On black

14.76
#DDDC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDDC97
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDDC97#FFFFFF#000000##000000
##DDDC971.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dddc97;
/* rgb */ color: rgb(221, 220, 151);
/* oklch */ color: oklch(87.9% 0.089 107.4);
Tailwind
colors: {
  custom: {
    50: '#e8e6b6',
    500: '#dddc97',
    950: '#000000',
  },
}
SCSS
$custom: #dddc97;
$custom-light: #e8e6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dddc97",
  "rgb": {
    "r": 221,
    "g": 220,
    "b": 151
  },
  "hsl": {
    "h": 59.143,
    "s": 50.725,
    "l": 72.941
  },
  "oklch": {
    "l": 0.87922,
    "c": 0.08877,
    "h": 107.4
  },
  "luminance": 0.68793
}

Semantic roles & 50–950 ramp

primary
#DDDC97
secondary
#6364B5
accent
#2ABE27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DDDC97

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

Preview Lab → · Contrast checker → · Palette generator →

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