#D2CD8D#D2CD8D

#D2CD8D is a very light, moderate yellow. Relative luminance 0.593; OKLCH L 83.7% C 0.083 H 104.2°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#D2CD8D
RGBrgb(210, 205, 141)
HSLhsl(56, 43%, 69%)
HSVhsv(56, 33%, 82%)
CMYKcmyk(0%, 2.4%, 32.9%, 17.6%)
CIE-LABlab(81.45, -7.94, 32.55)
CIE-LCHlch(81.45, 33.50, 103.70°)
OKLaboklab(83.73% -0.0205 0.0808)
OKLCHoklch(83.73% 0.083 104.2)
XYZxyz(53.2179, 59.2885, 33.8345)
Luminance0.5929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD8D #8D92D2
analogous
#D2AB8D #D2CD8D #B5D28D
triadic
#D2CD8D #8DD2CD #CD8DD2
tetradic
#D2CD8D #8DD2AB #8D92D2 #D28DB5
square
#D2CD8D #8DD2AB #8D92D2 #D28DB5
split-complementary
#D2CD8D #8DB5D2 #AB8DD2
monochromatic
#A49D41 #C1BA61 #D2CD8D #E3E0B9 #F5F3E5

Accessibility & contrast

On white

1.63
#D2CD8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#D2CD8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD8D
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD8D#FFFFFF#000000##000000
##D2CD8D1.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C889
Deuteranopia (green-blind)
#DACC8F
Tritanopia (blue-blind)
#DCC5BD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cd8d;
/* rgb */ color: rgb(210, 205, 141);
/* oklch */ color: oklch(83.7% 0.083 104.2);
Tailwind
colors: {
  custom: {
    50: '#e0dcaf',
    500: '#d2cd8d',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd8d;
$custom-light: #e0dcaf;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd8d",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 141
  },
  "hsl": {
    "h": 55.652,
    "s": 43.396,
    "l": 68.824
  },
  "oklch": {
    "l": 0.8373,
    "c": 0.08337,
    "h": 104.2
  },
  "luminance": 0.59287
}

Semantic roles & 50–950 ramp

primary
#D2CD8D
secondary
#5C61A8
accent
#39B72F
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2CD8D

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

Preview Lab → · Contrast checker → · Palette generator →

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