#DCD382#DCD382

#DCD382 is a very light, moderate yellow. Relative luminance 0.634; OKLCH L 85.6% C 0.103 H 102.8°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#DCD382
RGBrgb(220, 211, 130)
HSLhsl(54, 56%, 69%)
HSVhsv(54, 41%, 86%)
CMYKcmyk(0%, 4.1%, 40.9%, 13.7%)
CIE-LABlab(83.66, -8.32, 41.17)
CIE-LCHlch(83.66, 42.00, 101.43°)
OKLaboklab(85.63% -0.0228 0.1002)
OKLCHoklch(85.63% 0.103 102.8)
XYZxyz(56.8398, 63.4174, 30.3614)
Luminance0.6342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD382 #828BDC
analogous
#DCA682 #DCD382 #B8DC82
triadic
#DCD382 #82DCD3 #D382DC
tetradic
#DCD382 #82DCA6 #828BDC #DC82B8
square
#DCD382 #82DCA6 #828BDC #DC82B8
split-complementary
#DCD382 #82B8DC #A682DC
monochromatic
#B2A532 #CFC252 #DCD382 #E9E4B2 #F7F5E2

Accessibility & contrast

On white

1.53
#DCD382 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#DCD382 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD382
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD382#FFFFFF#000000##000000
##DCD3821.001.5313.6813.68
#FFFFFF1.531.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CE7C
Deuteranopia (green-blind)
#E4D385
Tritanopia (blue-blind)
#E8C9BF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd382;
/* rgb */ color: rgb(220, 211, 130);
/* oklch */ color: oklch(85.6% 0.103 102.8);
Tailwind
colors: {
  custom: {
    50: '#e8e0a7',
    500: '#dcd382',
    950: '#000000',
  },
}
SCSS
$custom: #dcd382;
$custom-light: #e8e0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd382",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 130
  },
  "hsl": {
    "h": 54,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.85625,
    "c": 0.10271,
    "h": 102.8
  },
  "luminance": 0.63416
}

Semantic roles & 50–950 ramp

primary
#DCD382
secondary
#5059B3
accent
#32C422
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD382

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

Preview Lab → · Contrast checker → · Palette generator →

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