#DCD895#DCD895

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

Color values

HEX#DCD895
RGBrgb(220, 216, 149)
HSLhsl(57, 50%, 72%)
HSVhsv(57, 32%, 86%)
CMYKcmyk(0%, 1.8%, 32.3%, 13.7%)
CIE-LABlab(85.25, -8.71, 33.60)
CIE-LCHlch(85.25, 34.71, 104.53°)
OKLaboklab(86.98% -0.0226 0.0835)
OKLCHoklch(86.98% 0.086 105.2)
XYZxyz(59.4964, 66.4985, 38.1293)
Luminance0.6650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD895 #9599DC
analogous
#DCB595 #DCD895 #BCDC95
triadic
#DCD895 #95DCD8 #D895DC
tetradic
#DCD895 #95DCB5 #9599DC #DC95BC
square
#DCD895 #95DCB5 #9599DC #DC95BC
split-complementary
#DCD895 #95BCDC #B595DC
monochromatic
#B9B23D #CDC767 #DCD895 #EBE9C3 #F7F7E8

Accessibility & contrast

On white

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

On black

14.30
#DCD895 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD895
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD895#FFFFFF#000000##000000
##DCD8951.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd895;
/* rgb */ color: rgb(220, 216, 149);
/* oklch */ color: oklch(87.0% 0.086 105.2);
Tailwind
colors: {
  custom: {
    50: '#e8e4b4',
    500: '#dcd895',
    950: '#000000',
  },
}
SCSS
$custom: #dcd895;
$custom-light: #e8e4b4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd895",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 149
  },
  "hsl": {
    "h": 56.62,
    "s": 50.355,
    "l": 72.353
  },
  "oklch": {
    "l": 0.86979,
    "c": 0.08647,
    "h": 105.2
  },
  "luminance": 0.66497
}

Semantic roles & 50–950 ramp

primary
#DCD895
secondary
#6266B4
accent
#30BE28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD895

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

Preview Lab → · Contrast checker → · Palette generator →

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