#DCD196#DCD196

#DCD196 is a very light, moderate yellow. Relative luminance 0.630; OKLCH L 85.6% C 0.078 H 98.9°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#DCD196
RGBrgb(220, 209, 150)
HSLhsl(51, 50%, 73%)
HSVhsv(51, 32%, 86%)
CMYKcmyk(0%, 5%, 31.8%, 13.7%)
CIE-LABlab(83.45, -5.01, 30.70)
CIE-LCHlch(83.45, 31.11, 99.28°)
OKLaboklab(85.56% -0.0119 0.0767)
OKLCHoklch(85.56% 0.078 98.9)
XYZxyz(57.8213, 63.0200, 37.9664)
Luminance0.6302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD196 #96A1DC
analogous
#DCAE96 #DCD196 #C4DC96
triadic
#DCD196 #96DCD1 #D196DC
tetradic
#DCD196 #96DCAE #96A1DC #DC96C4
square
#DCD196 #96DCAE #96A1DC #DC96C4
split-complementary
#DCD196 #96C4DC #AE96DC
monochromatic
#BAA63E #CDBD68 #DCD196 #EBE5C4 #F7F5E8

Accessibility & contrast

On white

1.54
#DCD196 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#DCD196 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD196
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD196#FFFFFF#000000##000000
##DCD1961.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCD92
Deuteranopia (green-blind)
#E0D298
Tritanopia (blue-blind)
#E6C9C2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd196;
/* rgb */ color: rgb(220, 209, 150);
/* oklch */ color: oklch(85.6% 0.078 98.9);
Tailwind
colors: {
  custom: {
    50: '#e7dfb5',
    500: '#dcd196',
    950: '#000000',
  },
}
SCSS
$custom: #dcd196;
$custom-light: #e7dfb5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd196",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 150
  },
  "hsl": {
    "h": 50.571,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.85561,
    "c": 0.07758,
    "h": 98.9
  },
  "luminance": 0.63019
}

Semantic roles & 50–950 ramp

primary
#DCD196
secondary
#636FB4
accent
#40BD28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD196

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

Preview Lab → · Contrast checker → · Palette generator →

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