#D2CD7A#D2CD7A

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

Color values

HEX#D2CD7A
RGBrgb(210, 205, 122)
HSLhsl(57, 49%, 65%)
HSVhsv(57, 42%, 82%)
CMYKcmyk(0%, 2.4%, 41.9%, 17.6%)
CIE-LABlab(81.17, -10.08, 41.85)
CIE-LCHlch(81.17, 43.05, 103.54°)
OKLaboklab(83.41% -0.028 0.1014)
OKLCHoklch(83.41% 0.105 105.4)
XYZxyz(51.9235, 58.7707, 27.0173)
Luminance0.5877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD7A #7A7FD2
analogous
#D2A17A #D2CD7A #ABD27A
triadic
#D2CD7A #7AD2CD #CD7AD2
tetradic
#D2CD7A #7AD2A1 #7A7FD2 #D27AAB
square
#D2CD7A #7AD2A1 #7A7FD2 #D27AAB
split-complementary
#D2CD7A #7AABD2 #A17AD2
monochromatic
#9D9735 #C3BC4C #D2CD7A #E1DEA8 #F1EFD5

Accessibility & contrast

On white

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

On black

12.75
#D2CD7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD7A
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD7A#FFFFFF#000000##000000
##D2CD7A1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC773
Deuteranopia (green-blind)
#DCCB7E
Tritanopia (blue-blind)
#DEC3B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cd7a;
/* rgb */ color: rgb(210, 205, 122);
/* oklch */ color: oklch(83.4% 0.105 105.4);
Tailwind
colors: {
  custom: {
    50: '#e1dca2',
    500: '#d2cd7a',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd7a;
$custom-light: #e1dca2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd7a",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 122
  },
  "hsl": {
    "h": 56.591,
    "s": 49.438,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83412,
    "c": 0.10515,
    "h": 105.4
  },
  "luminance": 0.58769
}

Semantic roles & 50–950 ramp

primary
#D2CD7A
secondary
#4F53A2
accent
#31BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2CD7A

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

Preview Lab → · Contrast checker → · Palette generator →

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