#D2CC6D#D2CC6D

#D2CC6D is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.0% C 0.118 H 105.5°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#D2CC6D
RGBrgb(210, 204, 109)
HSLhsl(56, 53%, 63%)
HSVhsv(56, 48%, 82%)
CMYKcmyk(0%, 2.9%, 48.1%, 17.6%)
CIE-LABlab(80.73, -10.84, 47.71)
CIE-LCHlch(80.73, 48.93, 102.80°)
OKLaboklab(83.02% -0.0314 0.1135)
OKLCHoklch(83.02% 0.118 105.5)
XYZxyz(50.9328, 57.9929, 22.9758)
Luminance0.5799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC6D #6D73D2
analogous
#D29A6D #D2CC6D #A5D26D
triadic
#D2CC6D #6DD2CC #CC6DD2
tetradic
#D2CC6D #6DD29A #6D73D2 #D26DA5
square
#D2CC6D #6DD29A #6D73D2 #D26DA5
split-complementary
#D2CC6D #6DA5D2 #9A6DD2
monochromatic
#96902E #C4BC3E #D2CC6D #E0DC9C #EFEDCB

Accessibility & contrast

On white

1.67
#D2CC6D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#D2CC6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC6D
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC6D#FFFFFF#000000##000000
##D2CC6D1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC665
Deuteranopia (green-blind)
#DDCA71
Tritanopia (blue-blind)
#DFC1B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cc6d;
/* rgb */ color: rgb(210, 204, 109);
/* oklch */ color: oklch(83.0% 0.118 105.5);
Tailwind
colors: {
  custom: {
    50: '#e2db99',
    500: '#d2cc6d',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc6d;
$custom-light: #e2db99;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc6d",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 109
  },
  "hsl": {
    "h": 56.436,
    "s": 52.88,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83016,
    "c": 0.11777,
    "h": 105.5
  },
  "luminance": 0.57991
}

Semantic roles & 50–950 ramp

primary
#D2CC6D
secondary
#484D9C
accent
#2EC025
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D2CC6D

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

Preview Lab → · Contrast checker → · Palette generator →

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