#DCD89F#DCD89F

#DCD89F is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.2% C 0.074 H 104.5°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#DCD89F
RGBrgb(220, 216, 159)
HSLhsl(56, 47%, 74%)
HSVhsv(56, 28%, 86%)
CMYKcmyk(0%, 1.8%, 27.7%, 13.7%)
CIE-LABlab(85.42, -7.45, 28.68)
CIE-LCHlch(85.42, 29.63, 104.56°)
OKLaboklab(87.17% -0.0186 0.0721)
OKLCHoklch(87.17% 0.074 104.5)
XYZxyz(60.3293, 66.8316, 42.5159)
Luminance0.6683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD89F #9FA3DC
analogous
#DCBA9F #DCD89F #C2DC9F
triadic
#DCD89F #9FDCD8 #D89FDC
tetradic
#DCD89F #9FDCBA #9FA3DC #DC9FC2
square
#DCD89F #9FDCBA #9FA3DC #DC9FC2
split-complementary
#DCD89F #9FC2DC #BA9FDC
monochromatic
#BBB445 #CCC672 #DCD89F #ECEACC #F7F6E9

Accessibility & contrast

On white

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

On black

14.37
#DCD89F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD89F
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD89F#FFFFFF#000000##000000
##DCD89F1.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D49B
Deuteranopia (green-blind)
#E4D7A1
Tritanopia (blue-blind)
#E5D1C9
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd89f;
/* rgb */ color: rgb(220, 216, 159);
/* oklch */ color: oklch(87.2% 0.074 104.5);
Tailwind
colors: {
  custom: {
    50: '#e7e4bb',
    500: '#dcd89f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd89f;
$custom-light: #e7e4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd89f",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 159
  },
  "hsl": {
    "h": 56.066,
    "s": 46.565,
    "l": 74.314
  },
  "oklch": {
    "l": 0.87168,
    "c": 0.07442,
    "h": 104.5
  },
  "luminance": 0.66831
}

Semantic roles & 50–950 ramp

primary
#DCD89F
secondary
#6B70B4
accent
#35BA2C
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161512
muted
#848482

Preview Lab

Preview with #DCD89F

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

Preview Lab → · Contrast checker → · Palette generator →

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