#DCD380#DCD380

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

Color values

HEX#DCD380
RGBrgb(220, 211, 128)
HSLhsl(54, 57%, 68%)
HSVhsv(54, 42%, 86%)
CMYKcmyk(0%, 4.1%, 41.8%, 13.7%)
CIE-LABlab(83.63, -8.53, 42.13)
CIE-LCHlch(83.63, 42.99, 101.45°)
OKLaboklab(85.59% -0.0235 0.1022)
OKLCHoklch(85.59% 0.105 103)
XYZxyz(56.7069, 63.3643, 29.6613)
Luminance0.6336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD380 #8089DC
analogous
#DCA580 #DCD380 #B7DC80
triadic
#DCD380 #80DCD3 #D380DC
tetradic
#DCD380 #80DCA5 #8089DC #DC80B7
square
#DCD380 #80DCA5 #8089DC #DC80B7
split-complementary
#DCD380 #80B7DC #A580DC
monochromatic
#B1A431 #CFC250 #DCD380 #E9E4B0 #F6F4E0

Accessibility & contrast

On white

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

On black

13.67
#DCD380 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD380
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD380#FFFFFF#000000##000000
##DCD3801.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd380;
/* rgb */ color: rgb(220, 211, 128);
/* oklch */ color: oklch(85.6% 0.105 103.0);
Tailwind
colors: {
  custom: {
    50: '#e8e0a6',
    500: '#dcd380',
    950: '#000000',
  },
}
SCSS
$custom: #dcd380;
$custom-light: #e8e0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd380",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 128
  },
  "hsl": {
    "h": 54.13,
    "s": 56.79,
    "l": 68.235
  },
  "oklch": {
    "l": 0.85594,
    "c": 0.10491,
    "h": 103
  },
  "luminance": 0.63363
}

Semantic roles & 50–950 ramp

primary
#DCD380
secondary
#4E58B3
accent
#31C421
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD380

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

Preview Lab → · Contrast checker → · Palette generator →

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