#D7CD6C#D7CD6C

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

Color values

HEX#D7CD6C
RGBrgb(215, 205, 108)
HSLhsl(54, 57%, 63%)
HSVhsv(54, 50%, 84%)
CMYKcmyk(0%, 4.7%, 49.8%, 15.7%)
CIE-LABlab(81.40, -9.41, 49.09)
CIE-LCHlch(81.40, 49.98, 100.85°)
OKLaboklab(83.64% -0.0277 0.1164)
OKLCHoklch(83.64% 0.12 103.4)
XYZxyz(52.5639, 59.1941, 22.8412)
Luminance0.5919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD6C #6C76D7
analogous
#D7976C #D7CD6C #ABD76C
triadic
#D7CD6C #6CD7CD #CD6CD7
tetradic
#D7CD6C #6CD797 #6C76D7 #D76CAB
square
#D7CD6C #6CD797 #6C76D7 #D76CAB
split-complementary
#D7CD6C #6CABD7 #976CD7
monochromatic
#9E932B #CABD3C #D7CD6C #E4DD9C #F1EECC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CD6C#FFFFFF#000000##000000
##D7CD6C1.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)
#DCC763
Deuteranopia (green-blind)
#DFCD70
Tritanopia (blue-blind)
#E4C2B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd6c;
/* rgb */ color: rgb(215, 205, 108);
/* oklch */ color: oklch(83.6% 0.120 103.4);
Tailwind
colors: {
  custom: {
    50: '#e5dc98',
    500: '#d7cd6c',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd6c;
$custom-light: #e5dc98;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd6c",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 108
  },
  "hsl": {
    "h": 54.393,
    "s": 57.219,
    "l": 63.333
  },
  "oklch": {
    "l": 0.83638,
    "c": 0.11962,
    "h": 103.4
  },
  "luminance": 0.59192
}

Semantic roles & 50–950 ramp

primary
#D7CD6C
secondary
#454EA2
accent
#30C521
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7CD6C

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

Preview Lab → · Contrast checker → · Palette generator →

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