#D2CD7C#D2CD7C

#D2CD7C is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.4% C 0.103 H 105.3°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#D2CD7C
RGBrgb(210, 205, 124)
HSLhsl(57, 49%, 65%)
HSVhsv(57, 41%, 82%)
CMYKcmyk(0%, 2.4%, 41%, 17.6%)
CIE-LABlab(81.19, -9.87, 40.88)
CIE-LCHlch(81.19, 42.06, 103.57°)
OKLaboklab(83.44% -0.0272 0.0993)
OKLCHoklch(83.44% 0.103 105.3)
XYZxyz(52.0487, 58.8208, 27.6766)
Luminance0.5882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD7C #7C81D2
analogous
#D2A27C #D2CD7C #ACD27C
triadic
#D2CD7C #7CD2CD #CD7CD2
tetradic
#D2CD7C #7CD2A2 #7C81D2 #D27CAC
square
#D2CD7C #7CD2A2 #7C81D2 #D27CAC
split-complementary
#D2CD7C #7CACD2 #A27CD2
monochromatic
#9D9736 #C2BC4E #D2CD7C #E2DEAA #F1F0D7

Accessibility & contrast

On white

1.65
#D2CD7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#D2CD7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD7C
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD7C#FFFFFF#000000##000000
##D2CD7C1.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC776
Deuteranopia (green-blind)
#DCCC7F
Tritanopia (blue-blind)
#DDC3B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cd7c;
/* rgb */ color: rgb(210, 205, 124);
/* oklch */ color: oklch(83.4% 0.103 105.3);
Tailwind
colors: {
  custom: {
    50: '#e1dca3',
    500: '#d2cd7c',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd7c;
$custom-light: #e1dca3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd7c",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 124
  },
  "hsl": {
    "h": 56.512,
    "s": 48.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.83443,
    "c": 0.10295,
    "h": 105.3
  },
  "luminance": 0.5882
}

Semantic roles & 50–950 ramp

primary
#D2CD7C
secondary
#5054A3
accent
#32BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2CD7C

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

Preview Lab → · Contrast checker → · Palette generator →

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