#DCD188#DCD188

#DCD188 is a very light, moderate yellow. Relative luminance 0.626; OKLCH L 85.3% C 0.094 H 100.7°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#DCD188
RGBrgb(220, 209, 136)
HSLhsl(52, 55%, 70%)
HSVhsv(52, 38%, 86%)
CMYKcmyk(0%, 5%, 38.2%, 13.7%)
CIE-LABlab(83.23, -6.66, 37.59)
CIE-LCHlch(83.23, 38.17, 100.04°)
OKLaboklab(85.31% -0.0175 0.0923)
OKLCHoklch(85.31% 0.094 100.7)
XYZxyz(56.7606, 62.5957, 32.3800)
Luminance0.6259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD188 #8893DC
analogous
#DCA788 #DCD188 #BDDC88
triadic
#DCD188 #88DCD1 #D188DC
tetradic
#DCD188 #88DCA7 #8893DC #DC88BD
square
#DCD188 #88DCA7 #8893DC #DC88BD
split-complementary
#DCD188 #88BDDC #A788DC
monochromatic
#B5A435 #CEBF59 #DCD188 #EAE3B7 #F8F6E7

Accessibility & contrast

On white

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

On black

13.52
#DCD188 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD188
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD188#FFFFFF#000000##000000
##DCD1881.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd188;
/* rgb */ color: rgb(220, 209, 136);
/* oklch */ color: oklch(85.3% 0.094 100.7);
Tailwind
colors: {
  custom: {
    50: '#e8dfab',
    500: '#dcd188',
    950: '#000000',
  },
}
SCSS
$custom: #dcd188;
$custom-light: #e8dfab;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd188",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 136
  },
  "hsl": {
    "h": 52.143,
    "s": 54.545,
    "l": 69.804
  },
  "oklch": {
    "l": 0.85311,
    "c": 0.09391,
    "h": 100.7
  },
  "luminance": 0.62594
}

Semantic roles & 50–950 ramp

primary
#DCD188
secondary
#5561B3
accent
#38C223
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD188

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

Preview Lab → · Contrast checker → · Palette generator →

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