#DCD873#DCD873

#DCD873 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.4% C 0.124 H 106.7°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#DCD873
RGBrgb(220, 216, 115)
HSLhsl(58, 60%, 66%)
HSVhsv(58, 48%, 86%)
CMYKcmyk(0%, 1.8%, 47.7%, 13.7%)
CIE-LABlab(84.77, -12.32, 49.89)
CIE-LCHlch(84.77, 51.39, 103.87°)
OKLaboklab(86.45% -0.0356 0.1186)
OKLCHoklch(86.45% 0.124 106.7)
XYZxyz(57.1669, 65.5667, 25.8606)
Luminance0.6556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD873 #7377DC
analogous
#DCA373 #DCD873 #ABDC73
triadic
#DCD873 #73DCD8 #D873DC
tetradic
#DCD873 #73DCA3 #7377DC #DC73AB
square
#DCD873 #73DCA3 #7377DC #DC73AB
split-complementary
#DCD873 #73ABDC #A373DC
monochromatic
#AAA52B #D0CA42 #DCD873 #E8E6A4 #F4F3D5

Accessibility & contrast

On white

1.49
#DCD873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.11
#DCD873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD873
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD873#FFFFFF#000000##000000
##DCD8731.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D16A
Deuteranopia (green-blind)
#E9D678
Tritanopia (blue-blind)
#E9CDC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd873;
/* rgb */ color: rgb(220, 216, 115);
/* oklch */ color: oklch(86.4% 0.124 106.7);
Tailwind
colors: {
  custom: {
    50: '#e9e39d',
    500: '#dcd873',
    950: '#000000',
  },
}
SCSS
$custom: #dcd873;
$custom-light: #e9e39d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd873",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 115
  },
  "hsl": {
    "h": 57.714,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86447,
    "c": 0.12386,
    "h": 106.7
  },
  "luminance": 0.65565
}

Semantic roles & 50–950 ramp

primary
#DCD873
secondary
#474AAD
accent
#24C81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD873

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

Preview Lab → · Contrast checker → · Palette generator →

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