#DCD87D#DCD87D

#DCD87D is a very light, moderate yellow. Relative luminance 0.658; OKLCH L 86.6% C 0.114 H 106.3°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#DCD87D
RGBrgb(220, 216, 125)
HSLhsl(57, 58%, 68%)
HSVhsv(57, 43%, 86%)
CMYKcmyk(0%, 1.8%, 43.2%, 13.7%)
CIE-LABlab(84.90, -11.36, 45.20)
CIE-LCHlch(84.90, 46.61, 104.11°)
OKLaboklab(86.59% -0.0319 0.109)
OKLCHoklch(86.59% 0.114 106.3)
XYZxyz(57.7739, 65.8095, 29.0572)
Luminance0.6581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD87D #7D81DC
analogous
#DCA97D #DCD87D #B0DC7D
triadic
#DCD87D #7DDCD8 #D87DDC
tetradic
#DCD87D #7DDCA9 #7D81DC #DC7DB0
square
#DCD87D #7DDCA9 #7D81DC #DC7DB0
split-complementary
#DCD87D #7DB0DC #A97DDC
monochromatic
#AFAA2F #CFCA4D #DCD87D #E9E6AD #F6F5DD

Accessibility & contrast

On white

1.48
#DCD87D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#DCD87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD87D
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD87D#FFFFFF#000000##000000
##DCD87D1.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D276
Deuteranopia (green-blind)
#E8D681
Tritanopia (blue-blind)
#E8CDC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd87d;
/* rgb */ color: rgb(220, 216, 125);
/* oklch */ color: oklch(86.6% 0.114 106.3);
Tailwind
colors: {
  custom: {
    50: '#e8e3a4',
    500: '#dcd87d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd87d;
$custom-light: #e8e3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd87d",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 125
  },
  "hsl": {
    "h": 57.474,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.86586,
    "c": 0.11353,
    "h": 106.3
  },
  "luminance": 0.65808
}

Semantic roles & 50–950 ramp

primary
#DCD87D
secondary
#4C50B2
accent
#27C520
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD87D

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

Preview Lab → · Contrast checker → · Palette generator →

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