#D2CD8A#D2CD8A

#D2CD8A is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.7% C 0.087 H 104.5°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#D2CD8A
RGBrgb(210, 205, 138)
HSLhsl(56, 44%, 68%)
HSVhsv(56, 34%, 82%)
CMYKcmyk(0%, 2.4%, 34.3%, 17.6%)
CIE-LABlab(81.40, -8.30, 34.03)
CIE-LCHlch(81.40, 35.03, 103.70°)
OKLaboklab(83.68% -0.0217 0.0842)
OKLCHoklch(83.68% 0.087 104.5)
XYZxyz(52.9977, 59.2004, 32.6748)
Luminance0.5920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD8A #8A8FD2
analogous
#D2A98A #D2CD8A #B3D28A
triadic
#D2CD8A #8AD2CD #CD8AD2
tetradic
#D2CD8A #8AD2A9 #8A8FD2 #D28AB3
square
#D2CD8A #8AD2A9 #8A8FD2 #D28AB3
split-complementary
#D2CD8A #8AB3D2 #A98AD2
monochromatic
#A39C3F #C1BA5E #D2CD8A #E3E0B6 #F4F3E2

Accessibility & contrast

On white

1.64
#D2CD8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#D2CD8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD8A
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD8A#FFFFFF#000000##000000
##D2CD8A1.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C885
Deuteranopia (green-blind)
#DACC8D
Tritanopia (blue-blind)
#DCC5BC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cd8a;
/* rgb */ color: rgb(210, 205, 138);
/* oklch */ color: oklch(83.7% 0.087 104.5);
Tailwind
colors: {
  custom: {
    50: '#e1dcad',
    500: '#d2cd8a',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd8a;
$custom-light: #e1dcad;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd8a",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 138
  },
  "hsl": {
    "h": 55.833,
    "s": 44.444,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83676,
    "c": 0.08694,
    "h": 104.5
  },
  "luminance": 0.59199
}

Semantic roles & 50–950 ramp

primary
#D2CD8A
secondary
#595EA8
accent
#37B82E
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2CD8A

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

Preview Lab → · Contrast checker → · Palette generator →

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