#D7CD6D#D7CD6D

#D7CD6D is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.7% C 0.119 H 103.3°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#D7CD6D
RGBrgb(215, 205, 109)
HSLhsl(54, 57%, 64%)
HSVhsv(54, 49%, 84%)
CMYKcmyk(0%, 4.7%, 49.3%, 15.7%)
CIE-LABlab(81.41, -9.32, 48.62)
CIE-LCHlch(81.41, 49.51, 100.85°)
OKLaboklab(83.65% -0.0273 0.1154)
OKLCHoklch(83.65% 0.119 103.3)
XYZxyz(52.6174, 59.2155, 23.1231)
Luminance0.5921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD6D #6D77D7
analogous
#D7986D #D7CD6D #ACD76D
triadic
#D7CD6D #6DD7CD #CD6DD7
tetradic
#D7CD6D #6DD798 #6D77D7 #D76DAC
square
#D7CD6D #6DD798 #6D77D7 #D76DAC
split-complementary
#D7CD6D #6DACD7 #986DD7
monochromatic
#9E932B #CABD3D #D7CD6D #E4DD9D #F1EECD

Accessibility & contrast

On white

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

On black

12.84
#D7CD6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD6D
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD6D#FFFFFF#000000##000000
##D7CD6D1.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC765
Deuteranopia (green-blind)
#DFCD71
Tritanopia (blue-blind)
#E4C2B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd6d;
/* rgb */ color: rgb(215, 205, 109);
/* oklch */ color: oklch(83.7% 0.119 103.3);
Tailwind
colors: {
  custom: {
    50: '#e5dc99',
    500: '#d7cd6d',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd6d;
$custom-light: #e5dc99;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd6d",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 109
  },
  "hsl": {
    "h": 54.34,
    "s": 56.989,
    "l": 63.529
  },
  "oklch": {
    "l": 0.83651,
    "c": 0.11862,
    "h": 103.3
  },
  "luminance": 0.59214
}

Semantic roles & 50–950 ramp

primary
#D7CD6D
secondary
#464FA2
accent
#30C521
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7CD6D

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

Preview Lab → · Contrast checker → · Palette generator →

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