#DCD89D#DCD89D

#DCD89D is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.1% C 0.077 H 104.6°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#DCD89D
RGBrgb(220, 216, 157)
HSLhsl(56, 47%, 74%)
HSVhsv(56, 29%, 86%)
CMYKcmyk(0%, 1.8%, 28.6%, 13.7%)
CIE-LABlab(85.38, -7.71, 29.66)
CIE-LCHlch(85.38, 30.65, 104.57°)
OKLaboklab(87.13% -0.0194 0.0744)
OKLCHoklch(87.13% 0.077 104.6)
XYZxyz(60.1572, 66.7628, 41.6093)
Luminance0.6676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD89D #9DA1DC
analogous
#DCB99D #DCD89D #C1DC9D
triadic
#DCD89D #9DDCD8 #D89DDC
tetradic
#DCD89D #9DDCB9 #9DA1DC #DC9DC1
square
#DCD89D #9DDCB9 #9DA1DC #DC9DC1
split-complementary
#DCD89D #9DC1DC #B99DDC
monochromatic
#BCB443 #CCC670 #DCD89D #ECEACA #F7F6E8

Accessibility & contrast

On white

1.46
#DCD89D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#DCD89D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD89D
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD89D#FFFFFF#000000##000000
##DCD89D1.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D499
Deuteranopia (green-blind)
#E4D79F
Tritanopia (blue-blind)
#E5D0C8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd89d;
/* rgb */ color: rgb(220, 216, 157);
/* oklch */ color: oklch(87.1% 0.077 104.6);
Tailwind
colors: {
  custom: {
    50: '#e7e4ba',
    500: '#dcd89d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd89d;
$custom-light: #e7e4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd89d",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 157
  },
  "hsl": {
    "h": 56.19,
    "s": 47.368,
    "l": 73.922
  },
  "oklch": {
    "l": 0.87129,
    "c": 0.07686,
    "h": 104.6
  },
  "luminance": 0.66762
}

Semantic roles & 50–950 ramp

primary
#DCD89D
secondary
#696EB4
accent
#34BB2B
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD89D

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

Preview Lab → · Contrast checker → · Palette generator →

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