#DCD897#DCD897

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

Color values

HEX#DCD897
RGBrgb(220, 216, 151)
HSLhsl(57, 50%, 73%)
HSVhsv(57, 31%, 86%)
CMYKcmyk(0%, 1.8%, 31.4%, 13.7%)
CIE-LABlab(85.28, -8.46, 32.62)
CIE-LCHlch(85.28, 33.70, 104.55°)
OKLaboklab(87.02% -0.0218 0.0812)
OKLCHoklch(87.02% 0.084 105)
XYZxyz(59.6574, 66.5629, 38.9774)
Luminance0.6656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD897 #979BDC
analogous
#DCB697 #DCD897 #BDDC97
triadic
#DCD897 #97DCD8 #D897DC
tetradic
#DCD897 #97DCB6 #979BDC #DC97BD
square
#DCD897 #97DCB6 #979BDC #DC97BD
split-complementary
#DCD897 #97BDDC #B697DC
monochromatic
#BAB33F #CDC769 #DCD897 #EBE9C5 #F7F6E8

Accessibility & contrast

On white

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

On black

14.31
#DCD897 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD897
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD897#FFFFFF#000000##000000
##DCD8971.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D393
Deuteranopia (green-blind)
#E5D79A
Tritanopia (blue-blind)
#E6D0C7
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd897;
/* rgb */ color: rgb(220, 216, 151);
/* oklch */ color: oklch(87.0% 0.084 105.0);
Tailwind
colors: {
  custom: {
    50: '#e7e4b6',
    500: '#dcd897',
    950: '#000000',
  },
}
SCSS
$custom: #dcd897;
$custom-light: #e7e4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd897",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 151
  },
  "hsl": {
    "h": 56.522,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.87015,
    "c": 0.08409,
    "h": 105
  },
  "luminance": 0.66562
}

Semantic roles & 50–950 ramp

primary
#DCD897
secondary
#6468B4
accent
#31BD29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD897

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

Preview Lab → · Contrast checker → · Palette generator →

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