#DCD785#DCD785

#DCD785 is a very light, moderate yellow. Relative luminance 0.655; OKLCH L 86.5% C 0.104 H 105.3°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#DCD785
RGBrgb(220, 215, 133)
HSLhsl(57, 55%, 69%)
HSVhsv(57, 40%, 86%)
CMYKcmyk(0%, 2.3%, 39.5%, 13.7%)
CIE-LABlab(84.75, -10.03, 41.04)
CIE-LCHlch(84.75, 42.25, 103.73°)
OKLaboklab(86.5% -0.0274 0.1)
OKLCHoklch(86.5% 0.104 105.3)
XYZxyz(58.0502, 65.5114, 31.7728)
Luminance0.6551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD785 #858ADC
analogous
#DCAC85 #DCD785 #B6DC85
triadic
#DCD785 #85DCD7 #D785DC
tetradic
#DCD785 #85DCAC #858ADC #DC85B6
square
#DCD785 #85DCAC #858ADC #DC85B6
split-complementary
#DCD785 #85B6DC #AC85DC
monochromatic
#B3AC33 #CEC755 #DCD785 #EAE7B5 #F7F6E4

Accessibility & contrast

On white

1.49
#DCD785 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.10
#DCD785 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD785
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD785#FFFFFF#000000##000000
##DCD7851.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D17F
Deuteranopia (green-blind)
#E6D588
Tritanopia (blue-blind)
#E8CDC3
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd785;
/* rgb */ color: rgb(220, 215, 133);
/* oklch */ color: oklch(86.5% 0.104 105.3);
Tailwind
colors: {
  custom: {
    50: '#e8e3a9',
    500: '#dcd785',
    950: '#000000',
  },
}
SCSS
$custom: #dcd785;
$custom-light: #e8e3a9;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd785",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 133
  },
  "hsl": {
    "h": 56.552,
    "s": 55.414,
    "l": 69.216
  },
  "oklch": {
    "l": 0.865,
    "c": 0.10372,
    "h": 105.3
  },
  "luminance": 0.6551
}

Semantic roles & 50–950 ramp

primary
#DCD785
secondary
#5258B3
accent
#2CC323
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD785

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

Preview Lab → · Contrast checker → · Palette generator →

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