#DCD989#DCD989

#DCD989 is a very light, moderate yellow. Relative luminance 0.666; OKLCH L 87.0% C 0.102 H 106.5°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#DCD989
RGBrgb(220, 217, 137)
HSLhsl(58, 54%, 70%)
HSVhsv(58, 38%, 86%)
CMYKcmyk(0%, 1.4%, 37.7%, 13.7%)
CIE-LABlab(85.33, -10.61, 39.78)
CIE-LCHlch(85.33, 41.17, 104.93°)
OKLaboklab(86.98% -0.0288 0.0973)
OKLCHoklch(86.98% 0.102 106.5)
XYZxyz(58.8442, 66.6488, 33.4268)
Luminance0.6665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD989 #898CDC
analogous
#DCAF89 #DCD989 #B6DC89
triadic
#DCD989 #89DCD9 #D989DC
tetradic
#DCD989 #89DCAF #898CDC #DC89B6
square
#DCD989 #89DCAF #898CDC #DC89B6
split-complementary
#DCD989 #89B6DC #AF89DC
monochromatic
#B5B036 #CECA5A #DCD989 #EAE8B8 #F8F7E7

Accessibility & contrast

On white

1.47
#DCD989 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#DCD989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD989
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD989#FFFFFF#000000##000000
##DCD9891.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D383
Deuteranopia (green-blind)
#E8D78C
Tritanopia (blue-blind)
#E7CFC5
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd989;
/* rgb */ color: rgb(220, 217, 137);
/* oklch */ color: oklch(87.0% 0.102 106.5);
Tailwind
colors: {
  custom: {
    50: '#e8e4ac',
    500: '#dcd989',
    950: '#000000',
  },
}
SCSS
$custom: #dcd989;
$custom-light: #e8e4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd989",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 137
  },
  "hsl": {
    "h": 57.831,
    "s": 54.248,
    "l": 70
  },
  "oklch": {
    "l": 0.86979,
    "c": 0.1015,
    "h": 106.5
  },
  "luminance": 0.66647
}

Semantic roles & 50–950 ramp

primary
#DCD989
secondary
#5659B3
accent
#29C224
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD989

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

Preview Lab → · Contrast checker → · Palette generator →

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