#DCD687#DCD687

#DCD687 is a very light, moderate yellow. Relative luminance 0.651; OKLCH L 86.3% C 0.100 H 104.6°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#DCD687
RGBrgb(220, 214, 135)
HSLhsl(56, 55%, 70%)
HSVhsv(56, 39%, 86%)
CMYKcmyk(0%, 2.7%, 38.6%, 13.7%)
CIE-LABlab(84.51, -9.31, 39.75)
CIE-LCHlch(84.51, 40.82, 103.18°)
OKLaboklab(86.33% -0.0252 0.0972)
OKLCHoklch(86.33% 0.1 104.6)
XYZxyz(57.9359, 65.0594, 32.4228)
Luminance0.6506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD687 #878DDC
analogous
#DCAC87 #DCD687 #B7DC87
triadic
#DCD687 #87DCD6 #D687DC
tetradic
#DCD687 #87DCAC #878DDC #DC87B7
square
#DCD687 #87DCAC #878DDC #DC87B7
split-complementary
#DCD687 #87B7DC #AC87DC
monochromatic
#B4AB35 #CEC658 #DCD687 #EAE6B6 #F8F6E6

Accessibility & contrast

On white

1.50
#DCD687 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.01
#DCD687 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD687
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD687#FFFFFF#000000##000000
##DCD6871.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D181
Deuteranopia (green-blind)
#E5D58A
Tritanopia (blue-blind)
#E8CCC2
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd687;
/* rgb */ color: rgb(220, 214, 135);
/* oklch */ color: oklch(86.3% 0.100 104.6);
Tailwind
colors: {
  custom: {
    50: '#e8e2ab',
    500: '#dcd687',
    950: '#000000',
  },
}
SCSS
$custom: #dcd687;
$custom-light: #e8e2ab;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd687",
  "rgb": {
    "r": 220,
    "g": 214,
    "b": 135
  },
  "hsl": {
    "h": 55.765,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.86325,
    "c": 0.10038,
    "h": 104.6
  },
  "luminance": 0.65058
}

Semantic roles & 50–950 ramp

primary
#DCD687
secondary
#545BB3
accent
#2EC223
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD687

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

Preview Lab → · Contrast checker → · Palette generator →

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