#DCD481#DCD481

#DCD481 is a very light, moderate yellow. Relative luminance 0.639; OKLCH L 85.8% C 0.105 H 103.6°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#DCD481
RGBrgb(220, 212, 129)
HSLhsl(55, 57%, 68%)
HSVhsv(55, 41%, 86%)
CMYKcmyk(0%, 3.6%, 41.4%, 13.7%)
CIE-LABlab(83.91, -8.94, 41.98)
CIE-LCHlch(83.91, 42.92, 102.02°)
OKLaboklab(85.82% -0.0246 0.1019)
OKLCHoklch(85.82% 0.105 103.6)
XYZxyz(57.0222, 63.8891, 30.0927)
Luminance0.6389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD481 #8189DC
analogous
#DCA681 #DCD481 #B6DC81
triadic
#DCD481 #81DCD4 #D481DC
tetradic
#DCD481 #81DCA6 #8189DC #DC81B6
square
#DCD481 #81DCA6 #8189DC #DC81B6
split-complementary
#DCD481 #81B6DC #A681DC
monochromatic
#B1A631 #CFC451 #DCD481 #E9E4B1 #F7F5E1

Accessibility & contrast

On white

1.52
#DCD481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#DCD481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD481
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD481#FFFFFF#000000##000000
##DCD4811.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF7B
Deuteranopia (green-blind)
#E4D384
Tritanopia (blue-blind)
#E8CAC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd481;
/* rgb */ color: rgb(220, 212, 129);
/* oklch */ color: oklch(85.8% 0.105 103.6);
Tailwind
colors: {
  custom: {
    50: '#e8e1a7',
    500: '#dcd481',
    950: '#000000',
  },
}
SCSS
$custom: #dcd481;
$custom-light: #e8e1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd481",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 129
  },
  "hsl": {
    "h": 54.725,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.85816,
    "c": 0.10487,
    "h": 103.6
  },
  "luminance": 0.63888
}

Semantic roles & 50–950 ramp

primary
#DCD481
secondary
#4F57B3
accent
#30C421
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD481

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

Preview Lab → · Contrast checker → · Palette generator →

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