#DCD381#DCD381

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

Color values

HEX#DCD381
RGBrgb(220, 211, 129)
HSLhsl(54, 57%, 68%)
HSVhsv(54, 41%, 86%)
CMYKcmyk(0%, 4.1%, 41.4%, 13.7%)
CIE-LABlab(83.65, -8.43, 41.65)
CIE-LCHlch(83.65, 42.49, 101.44°)
OKLaboklab(85.61% -0.0231 0.1012)
OKLCHoklch(85.61% 0.104 102.9)
XYZxyz(56.7730, 63.3907, 30.0096)
Luminance0.6339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD381 #818ADC
analogous
#DCA581 #DCD381 #B7DC81
triadic
#DCD381 #81DCD3 #D381DC
tetradic
#DCD381 #81DCA5 #818ADC #DC81B7
square
#DCD381 #81DCA5 #818ADC #DC81B7
split-complementary
#DCD381 #81B7DC #A581DC
monochromatic
#B1A531 #CFC251 #DCD381 #E9E4B1 #F7F4E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD381#FFFFFF#000000##000000
##DCD3811.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd381;
/* rgb */ color: rgb(220, 211, 129);
/* oklch */ color: oklch(85.6% 0.104 102.9);
Tailwind
colors: {
  custom: {
    50: '#e8e0a7',
    500: '#dcd381',
    950: '#000000',
  },
}
SCSS
$custom: #dcd381;
$custom-light: #e8e0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd381",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 129
  },
  "hsl": {
    "h": 54.066,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.8561,
    "c": 0.1038,
    "h": 102.9
  },
  "luminance": 0.63389
}

Semantic roles & 50–950 ramp

primary
#DCD381
secondary
#4F58B3
accent
#32C421
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD381

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

Preview Lab → · Contrast checker → · Palette generator →

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