#DCD287#DCD287

#DCD287 is a very light, moderate yellow. Relative luminance 0.631; OKLCH L 85.5% C 0.096 H 101.6°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#DCD287
RGBrgb(220, 210, 135)
HSLhsl(53, 55%, 70%)
HSVhsv(53, 39%, 86%)
CMYKcmyk(0%, 4.5%, 38.6%, 13.7%)
CIE-LABlab(83.47, -7.28, 38.41)
CIE-LCHlch(83.47, 39.09, 100.73°)
OKLaboklab(85.5% -0.0194 0.0941)
OKLCHoklch(85.5% 0.096 101.6)
XYZxyz(56.9359, 63.0596, 32.0895)
Luminance0.6306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD287 #8791DC
analogous
#DCA887 #DCD287 #BCDC87
triadic
#DCD287 #87DCD2 #D287DC
tetradic
#DCD287 #87DCA8 #8791DC #DC87BC
square
#DCD287 #87DCA8 #8791DC #DC87BC
split-complementary
#DCD287 #87BCDC #A887DC
monochromatic
#B4A535 #CEC058 #DCD287 #EAE4B6 #F8F6E6

Accessibility & contrast

On white

1.54
#DCD287 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#DCD287 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD287
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD287#FFFFFF#000000##000000
##DCD2871.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCD81
Deuteranopia (green-blind)
#E2D28A
Tritanopia (blue-blind)
#E8C8BF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd287;
/* rgb */ color: rgb(220, 210, 135);
/* oklch */ color: oklch(85.5% 0.096 101.6);
Tailwind
colors: {
  custom: {
    50: '#e8dfab',
    500: '#dcd287',
    950: '#000000',
  },
}
SCSS
$custom: #dcd287;
$custom-light: #e8dfab;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd287",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 135
  },
  "hsl": {
    "h": 52.941,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.855,
    "c": 0.09607,
    "h": 101.6
  },
  "luminance": 0.63058
}

Semantic roles & 50–950 ramp

primary
#DCD287
secondary
#545FB3
accent
#36C223
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD287

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

Preview Lab → · Contrast checker → · Palette generator →

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