#DCD487#DCD487

#DCD487 is a very light, moderate yellow. Relative luminance 0.641; OKLCH L 85.9% C 0.098 H 103.1°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#DCD487
RGBrgb(220, 212, 135)
HSLhsl(54, 55%, 70%)
HSVhsv(54, 39%, 86%)
CMYKcmyk(0%, 3.6%, 38.6%, 13.7%)
CIE-LABlab(83.99, -8.30, 39.08)
CIE-LCHlch(83.99, 39.95, 101.98°)
OKLaboklab(85.91% -0.0223 0.0956)
OKLCHoklch(85.91% 0.098 103.1)
XYZxyz(57.4328, 64.0533, 32.2551)
Luminance0.6405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD487 #878FDC
analogous
#DCAA87 #DCD487 #BADC87
triadic
#DCD487 #87DCD4 #D487DC
tetradic
#DCD487 #87DCAA #878FDC #DC87BA
square
#DCD487 #87DCAA #878FDC #DC87BA
split-complementary
#DCD487 #87BADC #AA87DC
monochromatic
#B4A835 #CEC358 #DCD487 #EAE5B6 #F8F6E6

Accessibility & contrast

On white

1.52
#DCD487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.81
#DCD487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD487
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD487#FFFFFF#000000##000000
##DCD4871.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CF81
Deuteranopia (green-blind)
#E4D38A
Tritanopia (blue-blind)
#E8CAC1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd487;
/* rgb */ color: rgb(220, 212, 135);
/* oklch */ color: oklch(85.9% 0.098 103.1);
Tailwind
colors: {
  custom: {
    50: '#e8e1ab',
    500: '#dcd487',
    950: '#000000',
  },
}
SCSS
$custom: #dcd487;
$custom-light: #e8e1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd487",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 135
  },
  "hsl": {
    "h": 54.353,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.85912,
    "c": 0.0982,
    "h": 103.1
  },
  "luminance": 0.64052
}

Semantic roles & 50–950 ramp

primary
#DCD487
secondary
#545DB3
accent
#32C223
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD487

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

Preview Lab → · Contrast checker → · Palette generator →

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