#DCD896#DCD896

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

Color values

HEX#DCD896
RGBrgb(220, 216, 150)
HSLhsl(57, 50%, 73%)
HSVhsv(57, 32%, 86%)
CMYKcmyk(0%, 1.8%, 31.8%, 13.7%)
CIE-LABlab(85.27, -8.59, 33.11)
CIE-LCHlch(85.27, 34.20, 104.54°)
OKLaboklab(87% -0.0222 0.0823)
OKLCHoklch(87% 0.085 105.1)
XYZxyz(59.5766, 66.5306, 38.5515)
Luminance0.6653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD896 #969ADC
analogous
#DCB596 #DCD896 #BDDC96
triadic
#DCD896 #96DCD8 #D896DC
tetradic
#DCD896 #96DCB5 #969ADC #DC96BD
square
#DCD896 #96DCB5 #969ADC #DC96BD
split-complementary
#DCD896 #96BDDC #B596DC
monochromatic
#BAB33E #CDC768 #DCD896 #EBE9C4 #F7F6E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD896#FFFFFF#000000##000000
##DCD8961.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)
#E3D391
Deuteranopia (green-blind)
#E5D799
Tritanopia (blue-blind)
#E6D0C7
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd896;
/* rgb */ color: rgb(220, 216, 150);
/* oklch */ color: oklch(87.0% 0.085 105.1);
Tailwind
colors: {
  custom: {
    50: '#e7e4b5',
    500: '#dcd896',
    950: '#000000',
  },
}
SCSS
$custom: #dcd896;
$custom-light: #e7e4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd896",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 150
  },
  "hsl": {
    "h": 56.571,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.86997,
    "c": 0.08528,
    "h": 105.1
  },
  "luminance": 0.66529
}

Semantic roles & 50–950 ramp

primary
#DCD896
secondary
#6367B4
accent
#31BD28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD896

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

Preview Lab → · Contrast checker → · Palette generator →

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