#DDC873#DDC873

#DDC873 is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 83.2% C 0.108 H 95.9°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#DDC873
RGBrgb(221, 200, 115)
HSLhsl(48, 61%, 66%)
HSVhsv(48, 48%, 87%)
CMYKcmyk(0%, 9.5%, 48%, 13.3%)
CIE-LABlab(80.69, -3.78, 44.95)
CIE-LCHlch(80.69, 45.10, 94.80°)
OKLaboklab(83.23% -0.0111 0.1077)
OKLCHoklch(83.23% 0.108 95.9)
XYZxyz(53.5692, 57.9206, 24.5744)
Luminance0.5792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC873 #7388DD
analogous
#DD9373 #DDC873 #BDDD73
triadic
#DDC873 #73DDC8 #C873DD
tetradic
#DDC873 #73DD93 #7388DD #DD73BD
square
#DDC873 #73DD93 #7388DD #DD73BD
split-complementary
#DDC873 #73BDDD #9373DD
monochromatic
#AC922A #D1B542 #DDC873 #E9DBA4 #F5EFD5

Accessibility & contrast

On white

1.67
#DDC873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#DDC873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC873
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC873#FFFFFF#000000##000000
##DDC8731.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46C
Deuteranopia (green-blind)
#DDCB76
Tritanopia (blue-blind)
#EBBDB4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ddc873;
/* rgb */ color: rgb(221, 200, 115);
/* oklch */ color: oklch(83.2% 0.108 95.9);
Tailwind
colors: {
  custom: {
    50: '#e9d89d',
    500: '#ddc873',
    950: '#000000',
  },
}
SCSS
$custom: #ddc873;
$custom-light: #e9d89d;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc873",
  "rgb": {
    "r": 221,
    "g": 200,
    "b": 115
  },
  "hsl": {
    "h": 48.113,
    "s": 60.92,
    "l": 65.882
  },
  "oklch": {
    "l": 0.83231,
    "c": 0.10826,
    "h": 95.9
  },
  "luminance": 0.57919
}

Semantic roles & 50–950 ramp

primary
#DDC873
secondary
#465BAE
accent
#3FC91D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DDC873

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

Preview Lab → · Contrast checker → · Palette generator →

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