#D2CC6A#D2CC6A

#D2CC6A is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 83.0% C 0.121 H 105.6°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#D2CC6A
RGBrgb(210, 204, 106)
HSLhsl(57, 54%, 62%)
HSVhsv(57, 50%, 82%)
CMYKcmyk(0%, 2.9%, 49.5%, 17.6%)
CIE-LABlab(80.70, -11.11, 49.12)
CIE-LCHlch(80.70, 50.36, 102.74°)
OKLaboklab(82.98% -0.0325 0.1163)
OKLCHoklch(82.98% 0.121 105.6)
XYZxyz(50.7740, 57.9294, 22.1398)
Luminance0.5793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC6A #6A70D2
analogous
#D2986A #D2CC6A #A4D26A
triadic
#D2CC6A #6AD2CC #CC6AD2
tetradic
#D2CC6A #6AD298 #6A70D2 #D26AA4
square
#D2CC6A #6AD298 #6A70D2 #D26AA4
split-complementary
#D2CC6A #6AA4D2 #986AD2
monochromatic
#958F2D #C4BC3B #D2CC6A #E0DC99 #EEECC8

Accessibility & contrast

On white

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

On black

12.59
#D2CC6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC6A
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC6A#FFFFFF#000000##000000
##D2CC6A1.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC661
Deuteranopia (green-blind)
#DDCA6F
Tritanopia (blue-blind)
#DFC1B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cc6a;
/* rgb */ color: rgb(210, 204, 106);
/* oklch */ color: oklch(83.0% 0.121 105.6);
Tailwind
colors: {
  custom: {
    50: '#e2db97',
    500: '#d2cc6a',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc6a;
$custom-light: #e2db97;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc6a",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 106
  },
  "hsl": {
    "h": 56.538,
    "s": 53.608,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82976,
    "c": 0.12078,
    "h": 105.6
  },
  "luminance": 0.57928
}

Semantic roles & 50–950 ramp

primary
#D2CC6A
secondary
#464B9A
accent
#2DC124
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D2CC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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