#DCD888#DCD888

#DCD888 is a very light, moderate yellow. Relative luminance 0.661; OKLCH L 86.8% C 0.101 H 105.9°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#DCD888
RGBrgb(220, 216, 136)
HSLhsl(57, 55%, 70%)
HSVhsv(57, 38%, 86%)
CMYKcmyk(0%, 1.8%, 38.2%, 13.7%)
CIE-LABlab(85.05, -10.21, 39.93)
CIE-LCHlch(85.05, 41.21, 104.34°)
OKLaboklab(86.76% -0.0277 0.0976)
OKLCHoklch(86.76% 0.101 105.9)
XYZxyz(58.5159, 66.1063, 32.9651)
Luminance0.6611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD888 #888CDC
analogous
#DCAE88 #DCD888 #B6DC88
triadic
#DCD888 #88DCD8 #D888DC
tetradic
#DCD888 #88DCAE #888CDC #DC88B6
square
#DCD888 #88DCAE #888CDC #DC88B6
split-complementary
#DCD888 #88B6DC #AE88DC
monochromatic
#B5AE35 #CEC959 #DCD888 #EAE7B7 #F8F7E7

Accessibility & contrast

On white

1.48
#DCD888 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#DCD888 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD888
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD888#FFFFFF#000000##000000
##DCD8881.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D282
Deuteranopia (green-blind)
#E7D68B
Tritanopia (blue-blind)
#E7CEC4
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd888;
/* rgb */ color: rgb(220, 216, 136);
/* oklch */ color: oklch(86.8% 0.101 105.9);
Tailwind
colors: {
  custom: {
    50: '#e8e3ac',
    500: '#dcd888',
    950: '#000000',
  },
}
SCSS
$custom: #dcd888;
$custom-light: #e8e3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd888",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 136
  },
  "hsl": {
    "h": 57.143,
    "s": 54.545,
    "l": 69.804
  },
  "oklch": {
    "l": 0.86755,
    "c": 0.10149,
    "h": 105.9
  },
  "luminance": 0.66105
}

Semantic roles & 50–950 ramp

primary
#DCD888
secondary
#555AB3
accent
#2BC223
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD888

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

Preview Lab → · Contrast checker → · Palette generator →

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