#DCD280#DCD280

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

Color values

HEX#DCD280
RGBrgb(220, 210, 128)
HSLhsl(53, 57%, 68%)
HSVhsv(53, 42%, 86%)
CMYKcmyk(0%, 4.5%, 41.8%, 13.7%)
CIE-LABlab(83.37, -8.02, 41.80)
CIE-LCHlch(83.37, 42.57, 100.87°)
OKLaboklab(85.39% -0.0221 0.1015)
OKLCHoklch(85.39% 0.104 102.3)
XYZxyz(56.4592, 62.8689, 29.5787)
Luminance0.6287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD280 #808ADC
analogous
#DCA480 #DCD280 #B8DC80
triadic
#DCD280 #80DCD2 #D280DC
tetradic
#DCD280 #80DCA4 #808ADC #DC80B8
square
#DCD280 #80DCA4 #808ADC #DC80B8
split-complementary
#DCD280 #80B8DC #A480DC
monochromatic
#B1A331 #CFC150 #DCD280 #E9E3B0 #F6F4E0

Accessibility & contrast

On white

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

On black

13.57
#DCD280 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD280
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD280#FFFFFF#000000##000000
##DCD2801.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD7A
Deuteranopia (green-blind)
#E3D283
Tritanopia (blue-blind)
#E8C8BE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd280;
/* rgb */ color: rgb(220, 210, 128);
/* oklch */ color: oklch(85.4% 0.104 102.3);
Tailwind
colors: {
  custom: {
    50: '#e8dfa6',
    500: '#dcd280',
    950: '#000000',
  },
}
SCSS
$custom: #dcd280;
$custom-light: #e8dfa6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd280",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 128
  },
  "hsl": {
    "h": 53.478,
    "s": 56.79,
    "l": 68.235
  },
  "oklch": {
    "l": 0.85388,
    "c": 0.10385,
    "h": 102.3
  },
  "luminance": 0.62867
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD280

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

Preview Lab → · Contrast checker → · Palette generator →

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