#D7CD6F#D7CD6F

#D7CD6F is a very light, moderate yellow. Relative luminance 0.593; OKLCH L 83.7% C 0.117 H 103.2°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#D7CD6F
RGBrgb(215, 205, 111)
HSLhsl(54, 57%, 64%)
HSVhsv(54, 48%, 84%)
CMYKcmyk(0%, 4.7%, 48.4%, 15.7%)
CIE-LABlab(81.43, -9.14, 47.69)
CIE-LCHlch(81.43, 48.56, 100.85°)
OKLaboklab(83.68% -0.0266 0.1135)
OKLCHoklch(83.68% 0.117 103.2)
XYZxyz(52.7263, 59.2591, 23.6966)
Luminance0.5926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD6F #6F79D7
analogous
#D7996F #D7CD6F #ADD76F
triadic
#D7CD6F #6FD7CD #CD6FD7
tetradic
#D7CD6F #6FD799 #6F79D7 #D76FAD
square
#D7CD6F #6FD799 #6F79D7 #D76FAD
split-complementary
#D7CD6F #6FADD7 #996FD7
monochromatic
#9F942C #CABC3F #D7CD6F #E4DE9F #F2EECF

Accessibility & contrast

On white

1.63
#D7CD6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#D7CD6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD6F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD6F#FFFFFF#000000##000000
##D7CD6F1.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7cd6f;
/* rgb */ color: rgb(215, 205, 111);
/* oklch */ color: oklch(83.7% 0.117 103.2);
Tailwind
colors: {
  custom: {
    50: '#e5dc9a',
    500: '#d7cd6f',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd6f;
$custom-light: #e5dc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd6f",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 111
  },
  "hsl": {
    "h": 54.231,
    "s": 56.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83678,
    "c": 0.11661,
    "h": 103.2
  },
  "luminance": 0.59257
}

Semantic roles & 50–950 ramp

primary
#D7CD6F
secondary
#4750A3
accent
#31C421
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7CD6F

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

Preview Lab → · Contrast checker → · Palette generator →

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