#DCD387#DCD387

#DCD387 is a very light, moderate yellow. Relative luminance 0.636; OKLCH L 85.7% C 0.097 H 102.4°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#DCD387
RGBrgb(220, 211, 135)
HSLhsl(54, 55%, 70%)
HSVhsv(54, 39%, 86%)
CMYKcmyk(0%, 4.1%, 38.6%, 13.7%)
CIE-LABlab(83.73, -7.79, 38.74)
CIE-LCHlch(83.73, 39.52, 101.36°)
OKLaboklab(85.71% -0.0208 0.0949)
OKLCHoklch(85.71% 0.097 102.4)
XYZxyz(57.1836, 63.5549, 32.1720)
Luminance0.6355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD387 #8790DC
analogous
#DCA987 #DCD387 #BBDC87
triadic
#DCD387 #87DCD3 #D387DC
tetradic
#DCD387 #87DCA9 #8790DC #DC87BB
square
#DCD387 #87DCA9 #8790DC #DC87BB
split-complementary
#DCD387 #87BBDC #A987DC
monochromatic
#B4A735 #CEC258 #DCD387 #EAE4B6 #F8F6E6

Accessibility & contrast

On white

1.53
#DCD387 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#DCD387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD387
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD387#FFFFFF#000000##000000
##DCD3871.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CE81
Deuteranopia (green-blind)
#E3D38A
Tritanopia (blue-blind)
#E8C9C0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd387;
/* rgb */ color: rgb(220, 211, 135);
/* oklch */ color: oklch(85.7% 0.097 102.4);
Tailwind
colors: {
  custom: {
    50: '#e8e0ab',
    500: '#dcd387',
    950: '#000000',
  },
}
SCSS
$custom: #dcd387;
$custom-light: #e8e0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd387",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 135
  },
  "hsl": {
    "h": 53.647,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.85706,
    "c": 0.09713,
    "h": 102.4
  },
  "luminance": 0.63553
}

Semantic roles & 50–950 ramp

primary
#DCD387
secondary
#545EB3
accent
#34C223
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD387

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

Preview Lab → · Contrast checker → · Palette generator →

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