#D2CC6E#D2CC6E

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

Color values

HEX#D2CC6E
RGBrgb(210, 204, 110)
HSLhsl(56, 53%, 63%)
HSVhsv(56, 48%, 82%)
CMYKcmyk(0%, 2.9%, 47.6%, 17.6%)
CIE-LABlab(80.75, -10.75, 47.25)
CIE-LCHlch(80.75, 48.45, 102.82°)
OKLaboklab(83.03% -0.031 0.1126)
OKLCHoklch(83.03% 0.117 105.4)
XYZxyz(50.9869, 58.0146, 23.2609)
Luminance0.5801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC6E #6E74D2
analogous
#D29A6E #D2CC6E #A6D26E
triadic
#D2CC6E #6ED2CC #CC6ED2
tetradic
#D2CC6E #6ED29A #6E74D2 #D26EA6
square
#D2CC6E #6ED29A #6E74D2 #D26EA6
split-complementary
#D2CC6E #6EA6D2 #9A6ED2
monochromatic
#97912F #C4BC3F #D2CC6E #E0DC9D #EFEDCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CC6E#FFFFFF#000000##000000
##D2CC6E1.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)
#DAC666
Deuteranopia (green-blind)
#DDCB72
Tritanopia (blue-blind)
#DFC1B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cc6e;
/* rgb */ color: rgb(210, 204, 110);
/* oklch */ color: oklch(83.0% 0.117 105.4);
Tailwind
colors: {
  custom: {
    50: '#e2db99',
    500: '#d2cc6e',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc6e;
$custom-light: #e2db99;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc6e",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 110
  },
  "hsl": {
    "h": 56.4,
    "s": 52.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.83029,
    "c": 0.11675,
    "h": 105.4
  },
  "luminance": 0.58013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2CC6E

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

Preview Lab → · Contrast checker → · Palette generator →

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