#DCD08A#DCD08A

#DCD08A is a very light, moderate yellow. Relative luminance 0.622; OKLCH L 85.1% C 0.091 H 99.7°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#DCD08A
RGBrgb(220, 208, 138)
HSLhsl(51, 54%, 70%)
HSVhsv(51, 37%, 86%)
CMYKcmyk(0%, 5.5%, 37.3%, 13.7%)
CIE-LABlab(83.00, -5.92, 36.27)
CIE-LCHlch(83.00, 36.75, 99.27°)
OKLaboklab(85.14% -0.0152 0.0893)
OKLCHoklch(85.14% 0.091 99.7)
XYZxyz(56.6595, 62.1639, 33.0540)
Luminance0.6216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD08A #8A96DC
analogous
#DCA78A #DCD08A #BFDC8A
triadic
#DCD08A #8ADCD0 #D08ADC
tetradic
#DCD08A #8ADCA7 #8A96DC #DC8ABF
square
#DCD08A #8ADCA7 #8A96DC #DC8ABF
split-complementary
#DCD08A #8ABFDC #A78ADC
monochromatic
#B5A336 #CEBD5B #DCD08A #EAE3B9 #F8F6E7

Accessibility & contrast

On white

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

On black

13.43
#DCD08A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD08A
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD08A#FFFFFF#000000##000000
##DCD08A1.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCC85
Deuteranopia (green-blind)
#E0D18D
Tritanopia (blue-blind)
#E8C7BE
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd08a;
/* rgb */ color: rgb(220, 208, 138);
/* oklch */ color: oklch(85.1% 0.091 99.7);
Tailwind
colors: {
  custom: {
    50: '#e8dead',
    500: '#dcd08a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd08a;
$custom-light: #e8dead;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd08a",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 138
  },
  "hsl": {
    "h": 51.22,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.8514,
    "c": 0.0906,
    "h": 99.7
  },
  "luminance": 0.62162
}

Semantic roles & 50–950 ramp

primary
#DCD08A
secondary
#5765B3
accent
#3BC124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD08A

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

Preview Lab → · Contrast checker → · Palette generator →

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