#DCD08C#DCD08C

#DCD08C is a very light, moderate yellow. Relative luminance 0.622; OKLCH L 85.2% C 0.088 H 99.4°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#DCD08C
RGBrgb(220, 208, 140)
HSLhsl(51, 53%, 71%)
HSVhsv(51, 36%, 86%)
CMYKcmyk(0%, 5.5%, 36.4%, 13.7%)
CIE-LABlab(83.03, -5.69, 35.29)
CIE-LCHlch(83.03, 35.75, 99.16°)
OKLaboklab(85.18% -0.0144 0.0871)
OKLCHoklch(85.18% 0.088 99.4)
XYZxyz(56.8056, 62.2224, 33.8236)
Luminance0.6222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD08C #8C98DC
analogous
#DCA88C #DCD08C #C0DC8C
triadic
#DCD08C #8CDCD0 #D08CDC
tetradic
#DCD08C #8CDCA8 #8C98DC #DC8CC0
square
#DCD08C #8CDCA8 #8C98DC #DC8CC0
split-complementary
#DCD08C #8CC0DC #A88CDC
monochromatic
#B6A337 #CEBD5D #DCD08C #EAE3BB #F8F5E8

Accessibility & contrast

On white

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

On black

13.44
#DCD08C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD08C
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD08C#FFFFFF#000000##000000
##DCD08C1.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd08c;
/* rgb */ color: rgb(220, 208, 140);
/* oklch */ color: oklch(85.2% 0.088 99.4);
Tailwind
colors: {
  custom: {
    50: '#e8deae',
    500: '#dcd08c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd08c;
$custom-light: #e8deae;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd08c",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 140
  },
  "hsl": {
    "h": 51,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.85175,
    "c": 0.0883,
    "h": 99.4
  },
  "luminance": 0.62221
}

Semantic roles & 50–950 ramp

primary
#DCD08C
secondary
#5967B3
accent
#3CC125
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD08C

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

Preview Lab → · Contrast checker → · Palette generator →

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