#DCCC73#DCCC73

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

Color values

HEX#DCCC73
RGBrgb(220, 204, 115)
HSLhsl(51, 60%, 66%)
HSVhsv(51, 48%, 86%)
CMYKcmyk(0%, 7.3%, 47.7%, 13.7%)
CIE-LABlab(81.64, -6.24, 46.09)
CIE-LCHlch(81.64, 46.51, 97.71°)
OKLaboklab(83.96% -0.0181 0.1102)
OKLCHoklch(83.96% 0.112 99.3)
XYZxyz(54.2041, 59.6411, 24.8730)
Luminance0.5964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCC73 #7383DC
analogous
#DC9773 #DCCC73 #B7DC73
triadic
#DCCC73 #73DCCC #CC73DC
tetradic
#DCCC73 #73DC97 #7383DC #DC73B7
square
#DCCC73 #73DC97 #7383DC #DC73B7
split-complementary
#DCCC73 #73B7DC #9773DC
monochromatic
#AA972B #D0BA42 #DCCC73 #E8DEA4 #F4F0D5

Accessibility & contrast

On white

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

On black

12.93
#DCCC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCC73
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCC73#FFFFFF#000000##000000
##DCCC731.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dccc73;
/* rgb */ color: rgb(220, 204, 115);
/* oklch */ color: oklch(84.0% 0.112 99.3);
Tailwind
colors: {
  custom: {
    50: '#e9db9d',
    500: '#dccc73',
    950: '#000000',
  },
}
SCSS
$custom: #dccc73;
$custom-light: #e9db9d;
$custom-dark: #000000;
JSON
{
  "hex": "#dccc73",
  "rgb": {
    "r": 220,
    "g": 204,
    "b": 115
  },
  "hsl": {
    "h": 50.857,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.83961,
    "c": 0.11172,
    "h": 99.3
  },
  "luminance": 0.59639
}

Semantic roles & 50–950 ramp

primary
#DCCC73
secondary
#4756AD
accent
#38C81E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCCC73

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

Preview Lab → · Contrast checker → · Palette generator →

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