#DCD281#DCD281

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

Color values

HEX#DCD281
RGBrgb(220, 210, 129)
HSLhsl(53, 57%, 68%)
HSVhsv(53, 41%, 86%)
CMYKcmyk(0%, 4.5%, 41.4%, 13.7%)
CIE-LABlab(83.39, -7.92, 41.32)
CIE-LCHlch(83.39, 42.07, 100.85°)
OKLaboklab(85.4% -0.0217 0.1005)
OKLCHoklch(85.4% 0.103 102.2)
XYZxyz(56.5254, 62.8954, 29.9271)
Luminance0.6289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD281 #818BDC
analogous
#DCA481 #DCD281 #B8DC81
triadic
#DCD281 #81DCD2 #D281DC
tetradic
#DCD281 #81DCA4 #818BDC #DC81B8
square
#DCD281 #81DCA4 #818BDC #DC81B8
split-complementary
#DCD281 #81B8DC #A481DC
monochromatic
#B1A331 #CFC151 #DCD281 #E9E3B1 #F7F4E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD281#FFFFFF#000000##000000
##DCD2811.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)
#E0CD7B
Deuteranopia (green-blind)
#E3D284
Tritanopia (blue-blind)
#E8C8BE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd281;
/* rgb */ color: rgb(220, 210, 129);
/* oklch */ color: oklch(85.4% 0.103 102.2);
Tailwind
colors: {
  custom: {
    50: '#e8dfa7',
    500: '#dcd281',
    950: '#000000',
  },
}
SCSS
$custom: #dcd281;
$custom-light: #e8dfa7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd281",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 129
  },
  "hsl": {
    "h": 53.407,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.85403,
    "c": 0.10277,
    "h": 102.2
  },
  "luminance": 0.62894
}

Semantic roles & 50–950 ramp

primary
#DCD281
secondary
#4F5AB3
accent
#33C421
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD281

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

Preview Lab → · Contrast checker → · Palette generator →

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