#D2CD7E#D2CD7E

#D2CD7E is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.101 H 105.2°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#D2CD7E
RGBrgb(210, 205, 126)
HSLhsl(56, 48%, 66%)
HSVhsv(56, 40%, 82%)
CMYKcmyk(0%, 2.4%, 40%, 17.6%)
CIE-LABlab(81.22, -9.66, 39.91)
CIE-LCHlch(81.22, 41.06, 103.60°)
OKLaboklab(83.47% -0.0265 0.0972)
OKLCHoklch(83.47% 0.101 105.2)
XYZxyz(52.1764, 58.8719, 28.3495)
Luminance0.5887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD7E #7E83D2
analogous
#D2A37E #D2CD7E #ADD27E
triadic
#D2CD7E #7ED2CD #CD7ED2
tetradic
#D2CD7E #7ED2A3 #7E83D2 #D27EAD
square
#D2CD7E #7ED2A3 #7E83D2 #D27EAD
split-complementary
#D2CD7E #7EADD2 #A37ED2
monochromatic
#9E9837 #C2BB51 #D2CD7E #E2DFAB #F2F0D9

Accessibility & contrast

On white

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

On black

12.77
#D2CD7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD7E
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD7E#FFFFFF#000000##000000
##D2CD7E1.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC878
Deuteranopia (green-blind)
#DCCC81
Tritanopia (blue-blind)
#DDC3BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cd7e;
/* rgb */ color: rgb(210, 205, 126);
/* oklch */ color: oklch(83.5% 0.101 105.2);
Tailwind
colors: {
  custom: {
    50: '#e1dca4',
    500: '#d2cd7e',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd7e;
$custom-light: #e1dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd7e",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 126
  },
  "hsl": {
    "h": 56.429,
    "s": 48.276,
    "l": 65.882
  },
  "oklch": {
    "l": 0.83474,
    "c": 0.10072,
    "h": 105.2
  },
  "luminance": 0.58871
}

Semantic roles & 50–950 ramp

primary
#D2CD7E
secondary
#5156A3
accent
#33BC2A
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #D2CD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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