#DCD788#DCD788

#DCD788 is a very light, moderate yellow. Relative luminance 0.656; OKLCH L 86.5% C 0.100 H 105.2°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#DCD788
RGBrgb(220, 215, 136)
HSLhsl(56, 55%, 70%)
HSVhsv(56, 38%, 86%)
CMYKcmyk(0%, 2.3%, 38.2%, 13.7%)
CIE-LABlab(84.79, -9.71, 39.60)
CIE-LCHlch(84.79, 40.77, 103.77°)
OKLaboklab(86.55% -0.0263 0.0969)
OKLCHoklch(86.55% 0.1 105.2)
XYZxyz(58.2604, 65.5954, 32.8799)
Luminance0.6559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD788 #888DDC
analogous
#DCAD88 #DCD788 #B7DC88
triadic
#DCD788 #88DCD7 #D788DC
tetradic
#DCD788 #88DCAD #888DDC #DC88B7
square
#DCD788 #88DCAD #888DDC #DC88B7
split-complementary
#DCD788 #88B7DC #AD88DC
monochromatic
#B5AD35 #CEC759 #DCD788 #EAE7B7 #F8F7E7

Accessibility & contrast

On white

1.49
#DCD788 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#DCD788 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD788
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD788#FFFFFF#000000##000000
##DCD7881.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D182
Deuteranopia (green-blind)
#E6D68B
Tritanopia (blue-blind)
#E7CDC3
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd788;
/* rgb */ color: rgb(220, 215, 136);
/* oklch */ color: oklch(86.5% 0.100 105.2);
Tailwind
colors: {
  custom: {
    50: '#e8e3ab',
    500: '#dcd788',
    950: '#000000',
  },
}
SCSS
$custom: #dcd788;
$custom-light: #e8e3ab;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd788",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 136
  },
  "hsl": {
    "h": 56.429,
    "s": 54.545,
    "l": 69.804
  },
  "oklch": {
    "l": 0.86548,
    "c": 0.10036,
    "h": 105.2
  },
  "luminance": 0.65594
}

Semantic roles & 50–950 ramp

primary
#DCD788
secondary
#555BB3
accent
#2DC223
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD788

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

Preview Lab → · Contrast checker → · Palette generator →

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