#D2CD7D#D2CD7D

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

Color values

HEX#D2CD7D
RGBrgb(210, 205, 125)
HSLhsl(56, 49%, 66%)
HSVhsv(56, 40%, 82%)
CMYKcmyk(0%, 2.4%, 40.5%, 17.6%)
CIE-LABlab(81.21, -9.76, 40.40)
CIE-LCHlch(81.21, 41.56, 103.59°)
OKLaboklab(83.46% -0.0268 0.0982)
OKLCHoklch(83.46% 0.102 105.3)
XYZxyz(52.1122, 58.8462, 28.0114)
Luminance0.5885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD7D #7D82D2
analogous
#D2A27D #D2CD7D #ACD27D
triadic
#D2CD7D #7DD2CD #CD7DD2
tetradic
#D2CD7D #7DD2A2 #7D82D2 #D27DAC
square
#D2CD7D #7DD2A2 #7D82D2 #D27DAC
split-complementary
#D2CD7D #7DACD2 #A27DD2
monochromatic
#9E9837 #C2BC50 #D2CD7D #E2DEAA #F1F0D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CD7D#FFFFFF#000000##000000
##D2CD7D1.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)
#DAC777
Deuteranopia (green-blind)
#DCCC80
Tritanopia (blue-blind)
#DDC3B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cd7d;
/* rgb */ color: rgb(210, 205, 125);
/* oklch */ color: oklch(83.5% 0.102 105.3);
Tailwind
colors: {
  custom: {
    50: '#e1dca4',
    500: '#d2cd7d',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd7d;
$custom-light: #e1dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd7d",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 125
  },
  "hsl": {
    "h": 56.471,
    "s": 48.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.83458,
    "c": 0.10183,
    "h": 105.3
  },
  "luminance": 0.58845
}

Semantic roles & 50–950 ramp

primary
#D2CD7D
secondary
#5055A3
accent
#32BC2A
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #D2CD7D

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

Preview Lab → · Contrast checker → · Palette generator →

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