#DCD08D#DCD08D

#DCD08D is a very light, moderate yellow. Relative luminance 0.623; OKLCH L 85.2% C 0.087 H 99.3°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#DCD08D
RGBrgb(220, 208, 141)
HSLhsl(51, 53%, 71%)
HSVhsv(51, 36%, 86%)
CMYKcmyk(0%, 5.5%, 35.9%, 13.7%)
CIE-LABlab(83.05, -5.58, 34.80)
CIE-LCHlch(83.05, 35.25, 99.11°)
OKLaboklab(85.19% -0.0141 0.086)
OKLCHoklch(85.19% 0.087 99.3)
XYZxyz(56.8797, 62.2520, 34.2137)
Luminance0.6225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD08D #8D99DC
analogous
#DCA88D #DCD08D #C0DC8D
triadic
#DCD08D #8DDCD0 #D08DDC
tetradic
#DCD08D #8DDCA8 #8D99DC #DC8DC0
square
#DCD08D #8DDCA8 #8D99DC #DC8DC0
split-complementary
#DCD08D #8DC0DC #A88DDC
monochromatic
#B7A338 #CEBD5E #DCD08D #EAE3BC #F8F5E8

Accessibility & contrast

On white

1.56
#DCD08D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#DCD08D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD08D
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD08D#FFFFFF#000000##000000
##DCD08D1.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCC88
Deuteranopia (green-blind)
#E0D18F
Tritanopia (blue-blind)
#E7C7BF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd08d;
/* rgb */ color: rgb(220, 208, 141);
/* oklch */ color: oklch(85.2% 0.087 99.3);
Tailwind
colors: {
  custom: {
    50: '#e8deaf',
    500: '#dcd08d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd08d;
$custom-light: #e8deaf;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd08d",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 141
  },
  "hsl": {
    "h": 50.886,
    "s": 53.02,
    "l": 70.784
  },
  "oklch": {
    "l": 0.85192,
    "c": 0.08715,
    "h": 99.3
  },
  "luminance": 0.6225
}

Semantic roles & 50–950 ramp

primary
#DCD08D
secondary
#5A67B3
accent
#3DC025
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD08D

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

Preview Lab → · Contrast checker → · Palette generator →

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