#DCD795#DCD795

#DCD795 is a very light, moderate yellow. Relative luminance 0.660; OKLCH L 86.8% C 0.085 H 104.4°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#DCD795
RGBrgb(220, 215, 149)
HSLhsl(56, 50%, 72%)
HSVhsv(56, 32%, 86%)
CMYKcmyk(0%, 2.3%, 32.3%, 13.7%)
CIE-LABlab(84.99, -8.20, 33.26)
CIE-LCHlch(84.99, 34.25, 103.85°)
OKLaboklab(86.77% -0.0211 0.0827)
OKLCHoklch(86.77% 0.085 104.4)
XYZxyz(59.2410, 65.9877, 38.0441)
Luminance0.6599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD795 #959ADC
analogous
#DCB495 #DCD795 #BDDC95
triadic
#DCD795 #95DCD7 #D795DC
tetradic
#DCD795 #95DCB4 #959ADC #DC95BD
square
#DCD795 #95DCB4 #959ADC #DC95BD
split-complementary
#DCD795 #95BDDC #B495DC
monochromatic
#B9B13D #CDC667 #DCD795 #EBE8C3 #F7F6E8

Accessibility & contrast

On white

1.48
#DCD795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#DCD795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD795
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD795#FFFFFF#000000##000000
##DCD7951.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D290
Deuteranopia (green-blind)
#E4D698
Tritanopia (blue-blind)
#E6CFC6
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd795;
/* rgb */ color: rgb(220, 215, 149);
/* oklch */ color: oklch(86.8% 0.085 104.4);
Tailwind
colors: {
  custom: {
    50: '#e8e3b4',
    500: '#dcd795',
    950: '#000000',
  },
}
SCSS
$custom: #dcd795;
$custom-light: #e8e3b4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd795",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 149
  },
  "hsl": {
    "h": 55.775,
    "s": 50.355,
    "l": 72.353
  },
  "oklch": {
    "l": 0.86773,
    "c": 0.08531,
    "h": 104.4
  },
  "luminance": 0.65986
}

Semantic roles & 50–950 ramp

primary
#DCD795
secondary
#6267B4
accent
#32BE28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD795

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

Preview Lab → · Contrast checker → · Palette generator →

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