#D2CC76#D2CC76

#D2CC76 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.108 H 105.0°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#D2CC76
RGBrgb(210, 204, 118)
HSLhsl(56, 51%, 64%)
HSVhsv(56, 44%, 82%)
CMYKcmyk(0%, 2.9%, 43.8%, 17.6%)
CIE-LABlab(80.85, -9.98, 43.44)
CIE-LCHlch(80.85, 44.57, 102.93°)
OKLaboklab(83.14% -0.0281 0.1047)
OKLCHoklch(83.14% 0.108 105)
XYZxyz(51.4423, 58.1967, 25.6593)
Luminance0.5819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC76 #767CD2
analogous
#D29E76 #D2CC76 #AAD276
triadic
#D2CC76 #76D2CC #CC76D2
tetradic
#D2CC76 #76D29E #767CD2 #D276AA
square
#D2CC76 #76D29E #767CD2 #D276AA
split-complementary
#D2CC76 #76AAD2 #9E76D2
monochromatic
#9B9433 #C3BB48 #D2CC76 #E1DDA4 #F0EED2

Accessibility & contrast

On white

1.66
#D2CC76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#D2CC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC76
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC76#FFFFFF#000000##000000
##D2CC761.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C66F
Deuteranopia (green-blind)
#DCCB7A
Tritanopia (blue-blind)
#DEC2B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cc76;
/* rgb */ color: rgb(210, 204, 118);
/* oklch */ color: oklch(83.1% 0.108 105.0);
Tailwind
colors: {
  custom: {
    50: '#e1db9f',
    500: '#d2cc76',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc76;
$custom-light: #e1db9f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc76",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 118
  },
  "hsl": {
    "h": 56.087,
    "s": 50.549,
    "l": 64.314
  },
  "oklch": {
    "l": 0.83142,
    "c": 0.10838,
    "h": 105
  },
  "luminance": 0.58195
}

Semantic roles & 50–950 ramp

primary
#D2CC76
secondary
#4C52A0
accent
#31BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #D2CC76

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

Preview Lab → · Contrast checker → · Palette generator →

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