#DCD889#DCD889

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

Color values

HEX#DCD889
RGBrgb(220, 216, 137)
HSLhsl(57, 54%, 70%)
HSVhsv(57, 38%, 86%)
CMYKcmyk(0%, 1.8%, 37.7%, 13.7%)
CIE-LABlab(85.07, -10.10, 39.45)
CIE-LCHlch(85.07, 40.72, 104.36°)
OKLaboklab(86.77% -0.0273 0.0966)
OKLCHoklch(86.77% 0.1 105.8)
XYZxyz(58.5873, 66.1348, 33.3411)
Luminance0.6613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD889 #898DDC
analogous
#DCAE89 #DCD889 #B7DC89
triadic
#DCD889 #89DCD8 #D889DC
tetradic
#DCD889 #89DCAE #898DDC #DC89B7
square
#DCD889 #89DCAE #898DDC #DC89B7
split-complementary
#DCD889 #89B7DC #AE89DC
monochromatic
#B5AF36 #CEC85A #DCD889 #EAE8B8 #F8F7E7

Accessibility & contrast

On white

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

On black

14.23
#DCD889 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD889
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD889#FFFFFF#000000##000000
##DCD8891.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd889;
/* rgb */ color: rgb(220, 216, 137);
/* oklch */ color: oklch(86.8% 0.100 105.8);
Tailwind
colors: {
  custom: {
    50: '#e8e3ac',
    500: '#dcd889',
    950: '#000000',
  },
}
SCSS
$custom: #dcd889;
$custom-light: #e8e3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd889",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 137
  },
  "hsl": {
    "h": 57.108,
    "s": 54.248,
    "l": 70
  },
  "oklch": {
    "l": 0.86772,
    "c": 0.10037,
    "h": 105.8
  },
  "luminance": 0.66134
}

Semantic roles & 50–950 ramp

primary
#DCD889
secondary
#565BB3
accent
#2BC224
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD889

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

Preview Lab → · Contrast checker → · Palette generator →

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