#DCD89C#DCD89C

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

Color values

HEX#DCD89C
RGBrgb(220, 216, 156)
HSLhsl(56, 48%, 74%)
HSVhsv(56, 29%, 86%)
CMYKcmyk(0%, 1.8%, 29.1%, 13.7%)
CIE-LABlab(85.37, -7.84, 30.16)
CIE-LCHlch(85.37, 31.16, 104.57°)
OKLaboklab(87.11% -0.0198 0.0755)
OKLCHoklch(87.11% 0.078 104.7)
XYZxyz(60.0721, 66.7288, 41.1615)
Luminance0.6673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD89C #9CA0DC
analogous
#DCB89C #DCD89C #C0DC9C
triadic
#DCD89C #9CDCD8 #D89CDC
tetradic
#DCD89C #9CDCB8 #9CA0DC #DC9CC0
square
#DCD89C #9CDCB8 #9CA0DC #DC9CC0
split-complementary
#DCD89C #9CC0DC #B89CDC
monochromatic
#BBB442 #CCC66F #DCD89C #ECEAC9 #F7F6E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD89C#FFFFFF#000000##000000
##DCD89C1.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)
#E2D398
Deuteranopia (green-blind)
#E4D79E
Tritanopia (blue-blind)
#E5D0C8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd89c;
/* rgb */ color: rgb(220, 216, 156);
/* oklch */ color: oklch(87.1% 0.078 104.7);
Tailwind
colors: {
  custom: {
    50: '#e7e4b9',
    500: '#dcd89c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd89c;
$custom-light: #e7e4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd89c",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 156
  },
  "hsl": {
    "h": 56.25,
    "s": 47.761,
    "l": 73.725
  },
  "oklch": {
    "l": 0.87109,
    "c": 0.07807,
    "h": 104.7
  },
  "luminance": 0.66728
}

Semantic roles & 50–950 ramp

primary
#DCD89C
secondary
#686DB4
accent
#34BB2A
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD89C

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

Preview Lab → · Contrast checker → · Palette generator →

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