#DCD282#DCD282

#DCD282 is a very light, moderate yellow. Relative luminance 0.629; OKLCH L 85.4% C 0.102 H 102.1°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#DCD282
RGBrgb(220, 210, 130)
HSLhsl(53, 56%, 69%)
HSVhsv(53, 41%, 86%)
CMYKcmyk(0%, 4.5%, 40.9%, 13.7%)
CIE-LABlab(83.40, -7.82, 40.84)
CIE-LCHlch(83.40, 41.58, 100.83°)
OKLaboklab(85.42% -0.0213 0.0994)
OKLCHoklch(85.42% 0.102 102.1)
XYZxyz(56.5922, 62.9221, 30.2788)
Luminance0.6292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD282 #828CDC
analogous
#DCA582 #DCD282 #B9DC82
triadic
#DCD282 #82DCD2 #D282DC
tetradic
#DCD282 #82DCA5 #828CDC #DC82B9
square
#DCD282 #82DCA5 #828CDC #DC82B9
split-complementary
#DCD282 #82B9DC #A582DC
monochromatic
#B2A432 #CFC152 #DCD282 #E9E3B2 #F7F4E2

Accessibility & contrast

On white

1.55
#DCD282 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#DCD282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD282
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD282#FFFFFF#000000##000000
##DCD2821.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCD7C
Deuteranopia (green-blind)
#E3D285
Tritanopia (blue-blind)
#E8C8BE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd282;
/* rgb */ color: rgb(220, 210, 130);
/* oklch */ color: oklch(85.4% 0.102 102.1);
Tailwind
colors: {
  custom: {
    50: '#e8dfa7',
    500: '#dcd282',
    950: '#000000',
  },
}
SCSS
$custom: #dcd282;
$custom-light: #e8dfa7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd282",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 130
  },
  "hsl": {
    "h": 53.333,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.85419,
    "c": 0.10166,
    "h": 102.1
  },
  "luminance": 0.62921
}

Semantic roles & 50–950 ramp

primary
#DCD282
secondary
#505BB3
accent
#34C422
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD282

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

Preview Lab → · Contrast checker → · Palette generator →

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