#D2C96D#D2C96D

#D2C96D is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.4% C 0.115 H 103.6°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#D2C96D
RGBrgb(210, 201, 109)
HSLhsl(55, 53%, 63%)
HSVhsv(55, 48%, 82%)
CMYKcmyk(0%, 4.3%, 48.1%, 17.6%)
CIE-LABlab(79.94, -9.31, 46.76)
CIE-LCHlch(79.94, 47.68, 101.26°)
OKLaboklab(82.39% -0.027 0.1114)
OKLCHoklch(82.39% 0.115 103.6)
XYZxyz(50.2266, 56.5806, 22.7404)
Luminance0.5658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C96D #6D76D2
analogous
#D2966D #D2C96D #A9D26D
triadic
#D2C96D #6DD2C9 #C96DD2
tetradic
#D2C96D #6DD296 #6D76D2 #D26DA9
square
#D2C96D #6DD296 #6D76D2 #D26DA9
split-complementary
#D2C96D #6DA9D2 #966DD2
monochromatic
#968D2E #C4B83E #D2C96D #E0DA9C #EFECCB

Accessibility & contrast

On white

1.71
#D2C96D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#D2C96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C96D
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C96D#FFFFFF#000000##000000
##D2C96D1.001.7112.3212.32
#FFFFFF1.711.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C365
Deuteranopia (green-blind)
#DAC871
Tritanopia (blue-blind)
#DFBEB3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2c96d;
/* rgb */ color: rgb(210, 201, 109);
/* oklch */ color: oklch(82.4% 0.115 103.6);
Tailwind
colors: {
  custom: {
    50: '#e2d999',
    500: '#d2c96d',
    950: '#000000',
  },
}
SCSS
$custom: #d2c96d;
$custom-light: #e2d999;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c96d",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 109
  },
  "hsl": {
    "h": 54.653,
    "s": 52.88,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82387,
    "c": 0.11463,
    "h": 103.6
  },
  "luminance": 0.56579
}

Semantic roles & 50–950 ramp

primary
#D2C96D
secondary
#484F9C
accent
#33C025
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D2C96D

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

Preview Lab → · Contrast checker → · Palette generator →

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