#DCD58D#DCD58D

#DCD58D is a very light, moderate yellow. Relative luminance 0.647; OKLCH L 86.2% C 0.092 H 103.4°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#DCD58D
RGBrgb(220, 213, 141)
HSLhsl(55, 53%, 71%)
HSVhsv(55, 36%, 86%)
CMYKcmyk(0%, 3.2%, 35.9%, 13.7%)
CIE-LABlab(84.34, -8.13, 36.49)
CIE-LCHlch(84.34, 37.39, 102.56°)
OKLaboklab(86.22% -0.0214 0.0899)
OKLCHoklch(86.22% 0.092 103.4)
XYZxyz(58.1179, 64.7286, 34.6265)
Luminance0.6473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD58D #8D94DC
analogous
#DCAD8D #DCD58D #BBDC8D
triadic
#DCD58D #8DDCD5 #D58DDC
tetradic
#DCD58D #8DDCAD #8D94DC #DC8DBB
square
#DCD58D #8DDCAD #8D94DC #DC8DBB
split-complementary
#DCD58D #8DBBDC #AD8DDC
monochromatic
#B7AB38 #CEC45E #DCD58D #EAE6BC #F8F6E8

Accessibility & contrast

On white

1.51
#DCD58D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#DCD58D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD58D
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD58D#FFFFFF#000000##000000
##DCD58D1.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D088
Deuteranopia (green-blind)
#E4D490
Tritanopia (blue-blind)
#E7CCC3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd58d;
/* rgb */ color: rgb(220, 213, 141);
/* oklch */ color: oklch(86.2% 0.092 103.4);
Tailwind
colors: {
  custom: {
    50: '#e8e1af',
    500: '#dcd58d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd58d;
$custom-light: #e8e1af;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd58d",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 141
  },
  "hsl": {
    "h": 54.684,
    "s": 53.02,
    "l": 70.784
  },
  "oklch": {
    "l": 0.86219,
    "c": 0.09244,
    "h": 103.4
  },
  "luminance": 0.64727
}

Semantic roles & 50–950 ramp

primary
#DCD58D
secondary
#5A62B3
accent
#33C025
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD58D

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

Preview Lab → · Contrast checker → · Palette generator →

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