#DCD373#DCD373

#DCD373 is a very light, moderate yellow. Relative luminance 0.630; OKLCH L 85.4% C 0.119 H 103.8°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#DCD373
RGBrgb(220, 211, 115)
HSLhsl(55, 60%, 66%)
HSVhsv(55, 48%, 86%)
CMYKcmyk(0%, 4.1%, 47.7%, 13.7%)
CIE-LABlab(83.47, -9.80, 48.31)
CIE-LCHlch(83.47, 49.29, 101.47°)
OKLaboklab(85.41% -0.0284 0.1152)
OKLCHoklch(85.41% 0.119 103.8)
XYZxyz(55.9054, 63.0437, 25.4401)
Luminance0.6304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD373 #737CDC
analogous
#DC9E73 #DCD373 #B0DC73
triadic
#DCD373 #73DCD3 #D373DC
tetradic
#DCD373 #73DC9E #737CDC #DC73B0
square
#DCD373 #73DC9E #737CDC #DC73B0
split-complementary
#DCD373 #73B0DC #9E73DC
monochromatic
#AA9F2B #D0C442 #DCD373 #E8E2A4 #F4F2D5

Accessibility & contrast

On white

1.54
#DCD373 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#DCD373 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD373
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD373#FFFFFF#000000##000000
##DCD3731.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD6B
Deuteranopia (green-blind)
#E5D277
Tritanopia (blue-blind)
#E9C8BC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd373;
/* rgb */ color: rgb(220, 211, 115);
/* oklch */ color: oklch(85.4% 0.119 103.8);
Tailwind
colors: {
  custom: {
    50: '#e9e09d',
    500: '#dcd373',
    950: '#000000',
  },
}
SCSS
$custom: #dcd373;
$custom-light: #e9e09d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd373",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 115
  },
  "hsl": {
    "h": 54.857,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85406,
    "c": 0.1186,
    "h": 103.8
  },
  "luminance": 0.63042
}

Semantic roles & 50–950 ramp

primary
#DCD373
secondary
#474FAD
accent
#2CC81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD373

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

Preview Lab → · Contrast checker → · Palette generator →

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