#DCD285#DCD285

#DCD285 is a very light, moderate yellow. Relative luminance 0.630; OKLCH L 85.5% C 0.098 H 101.8°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#DCD285
RGBrgb(220, 210, 133)
HSLhsl(53, 55%, 69%)
HSVhsv(53, 40%, 86%)
CMYKcmyk(0%, 4.5%, 39.5%, 13.7%)
CIE-LABlab(83.44, -7.50, 39.38)
CIE-LCHlch(83.44, 40.09, 100.78°)
OKLaboklab(85.47% -0.0201 0.0962)
OKLCHoklch(85.47% 0.098 101.8)
XYZxyz(56.7965, 63.0038, 31.3548)
Luminance0.6300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD285 #858FDC
analogous
#DCA785 #DCD285 #BBDC85
triadic
#DCD285 #85DCD2 #D285DC
tetradic
#DCD285 #85DCA7 #858FDC #DC85BB
square
#DCD285 #85DCA7 #858FDC #DC85BB
split-complementary
#DCD285 #85BBDC #A785DC
monochromatic
#B3A533 #CEC055 #DCD285 #EAE4B5 #F7F5E4

Accessibility & contrast

On white

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

On black

13.60
#DCD285 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD285
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD285#FFFFFF#000000##000000
##DCD2851.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd285;
/* rgb */ color: rgb(220, 210, 133);
/* oklch */ color: oklch(85.5% 0.098 101.8);
Tailwind
colors: {
  custom: {
    50: '#e8dfa9',
    500: '#dcd285',
    950: '#000000',
  },
}
SCSS
$custom: #dcd285;
$custom-light: #e8dfa9;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd285",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 133
  },
  "hsl": {
    "h": 53.103,
    "s": 55.414,
    "l": 69.216
  },
  "oklch": {
    "l": 0.85467,
    "c": 0.09833,
    "h": 101.8
  },
  "luminance": 0.63002
}

Semantic roles & 50–950 ramp

primary
#DCD285
secondary
#525DB3
accent
#35C323
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD285

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

Preview Lab → · Contrast checker → · Palette generator →

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