#DCD396#DCD396

#DCD396 is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 86.0% C 0.080 H 100.8°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#DCD396
RGBrgb(220, 211, 150)
HSLhsl(52, 50%, 73%)
HSVhsv(52, 32%, 86%)
CMYKcmyk(0%, 4.1%, 31.8%, 13.7%)
CIE-LABlab(83.97, -6.04, 31.39)
CIE-LCHlch(83.97, 31.96, 100.89°)
OKLaboklab(85.97% -0.0149 0.0783)
OKLCHoklch(85.97% 0.08 100.8)
XYZxyz(58.3151, 64.0075, 38.1310)
Luminance0.6401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD396 #969FDC
analogous
#DCB096 #DCD396 #C2DC96
triadic
#DCD396 #96DCD3 #D396DC
tetradic
#DCD396 #96DCB0 #969FDC #DC96C2
square
#DCD396 #96DCB0 #969FDC #DC96C2
split-complementary
#DCD396 #96C2DC #B096DC
monochromatic
#BAAA3E #CDC068 #DCD396 #EBE6C4 #F7F5E8

Accessibility & contrast

On white

1.52
#DCD396 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#DCD396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD396
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD396#FFFFFF#000000##000000
##DCD3961.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECF92
Deuteranopia (green-blind)
#E1D398
Tritanopia (blue-blind)
#E6CBC3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd396;
/* rgb */ color: rgb(220, 211, 150);
/* oklch */ color: oklch(86.0% 0.080 100.8);
Tailwind
colors: {
  custom: {
    50: '#e7e0b5',
    500: '#dcd396',
    950: '#000000',
  },
}
SCSS
$custom: #dcd396;
$custom-light: #e7e0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd396",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 150
  },
  "hsl": {
    "h": 52.286,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.8597,
    "c": 0.07969,
    "h": 100.8
  },
  "luminance": 0.64006
}

Semantic roles & 50–950 ramp

primary
#DCD396
secondary
#636DB4
accent
#3BBD28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD396

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

Preview Lab → · Contrast checker → · Palette generator →

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