#DDCC73#DDCC73

#DDCC73 is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 84.0% C 0.112 H 98.8°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#DDCC73
RGBrgb(221, 204, 115)
HSLhsl(50, 61%, 66%)
HSVhsv(50, 48%, 87%)
CMYKcmyk(0%, 7.7%, 48%, 13.3%)
CIE-LABlab(81.73, -5.83, 46.21)
CIE-LCHlch(81.73, 46.58, 97.19°)
OKLaboklab(84.05% -0.017 0.1105)
OKLCHoklch(84.05% 0.112 98.8)
XYZxyz(54.5077, 59.7976, 24.8872)
Luminance0.5980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDCC73 #7384DD
analogous
#DD9773 #DDCC73 #B9DD73
triadic
#DDCC73 #73DDCC #CC73DD
tetradic
#DDCC73 #73DD97 #7384DD #DD73B9
square
#DDCC73 #73DD97 #7384DD #DD73B9
split-complementary
#DDCC73 #73B9DD #9773DD
monochromatic
#AC972A #D1BA42 #DDCC73 #E9DEA4 #F5F0D5

Accessibility & contrast

On white

1.62
#DDCC73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#DDCC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDCC73
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDCC73#FFFFFF#000000##000000
##DDCC731.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC86C
Deuteranopia (green-blind)
#E0CE77
Tritanopia (blue-blind)
#EBC1B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ddcc73;
/* rgb */ color: rgb(221, 204, 115);
/* oklch */ color: oklch(84.0% 0.112 98.8);
Tailwind
colors: {
  custom: {
    50: '#e9db9d',
    500: '#ddcc73',
    950: '#000000',
  },
}
SCSS
$custom: #ddcc73;
$custom-light: #e9db9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ddcc73",
  "rgb": {
    "r": 221,
    "g": 204,
    "b": 115
  },
  "hsl": {
    "h": 50.377,
    "s": 60.92,
    "l": 65.882
  },
  "oklch": {
    "l": 0.84049,
    "c": 0.11181,
    "h": 98.8
  },
  "luminance": 0.59796
}

Semantic roles & 50–950 ramp

primary
#DDCC73
secondary
#4657AE
accent
#38C91D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DDCC73

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

Preview Lab → · Contrast checker → · Palette generator →

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