#DDCC97#DDCC97

#DDCC97 is a very light, moderate yellow. Relative luminance 0.608; OKLCH L 84.7% C 0.072 H 92.4°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#DDCC97
RGBrgb(221, 204, 151)
HSLhsl(45, 51%, 73%)
HSVhsv(45, 32%, 87%)
CMYKcmyk(0%, 7.7%, 31.7%, 13.3%)
CIE-LABlab(82.27, -1.93, 28.61)
CIE-LCHlch(82.27, 28.68, 93.85°)
OKLaboklab(84.65% -0.003 0.0717)
OKLCHoklch(84.65% 0.072 92.4)
XYZxyz(56.9983, 60.7939, 38.0040)
Luminance0.6079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDCC97 #97A8DD
analogous
#DDA997 #DDCC97 #CBDD97
triadic
#DDCC97 #97DDCC #CC97DD
tetradic
#DDCC97 #97DDA9 #97A8DD #DD97CB
square
#DDCC97 #97DDA9 #97A8DD #DD97CB
split-complementary
#DDCC97 #97CBDD #A997DD
monochromatic
#BC9D3D #CEB569 #DDCC97 #ECE3C5 #F7F4E8

Accessibility & contrast

On white

1.60
#DDCC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#DDCC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDCC97
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDCC97#FFFFFF#000000##000000
##DDCC971.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7CA93
Deuteranopia (green-blind)
#DCCF99
Tritanopia (blue-blind)
#E8C4BE
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ddcc97;
/* rgb */ color: rgb(221, 204, 151);
/* oklch */ color: oklch(84.7% 0.072 92.4);
Tailwind
colors: {
  custom: {
    50: '#e8dbb6',
    500: '#ddcc97',
    950: '#000000',
  },
}
SCSS
$custom: #ddcc97;
$custom-light: #e8dbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ddcc97",
  "rgb": {
    "r": 221,
    "g": 204,
    "b": 151
  },
  "hsl": {
    "h": 45.429,
    "s": 50.725,
    "l": 72.941
  },
  "oklch": {
    "l": 0.84651,
    "c": 0.07179,
    "h": 92.4
  },
  "luminance": 0.60792
}

Semantic roles & 50–950 ramp

primary
#DDCC97
secondary
#6377B5
accent
#4CBE27
background
#FEFEFD
surface
#FDFBF8
border
#D5D4D1
text
#161511
muted
#848481

Preview Lab

Preview with #DDCC97

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

Preview Lab → · Contrast checker → · Palette generator →

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