#D7CD6E#D7CD6E

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

Color values

HEX#D7CD6E
RGBrgb(215, 205, 110)
HSLhsl(54, 57%, 64%)
HSVhsv(54, 49%, 84%)
CMYKcmyk(0%, 4.7%, 48.8%, 15.7%)
CIE-LABlab(81.42, -9.23, 48.16)
CIE-LCHlch(81.42, 49.03, 100.85°)
OKLaboklab(83.67% -0.027 0.1145)
OKLCHoklch(83.67% 0.118 103.3)
XYZxyz(52.6715, 59.2372, 23.4082)
Luminance0.5924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD6E #6E78D7
analogous
#D7986E #D7CD6E #ACD76E
triadic
#D7CD6E #6ED7CD #CD6ED7
tetradic
#D7CD6E #6ED798 #6E78D7 #D76EAC
square
#D7CD6E #6ED798 #6E78D7 #D76EAC
split-complementary
#D7CD6E #6EACD7 #986ED7
monochromatic
#9F942C #CABC3E #D7CD6E #E4DE9E #F1EECE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CD6E#FFFFFF#000000##000000
##D7CD6E1.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)
#DCC766
Deuteranopia (green-blind)
#DFCD72
Tritanopia (blue-blind)
#E4C2B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd6e;
/* rgb */ color: rgb(215, 205, 110);
/* oklch */ color: oklch(83.7% 0.118 103.3);
Tailwind
colors: {
  custom: {
    50: '#e5dc9a',
    500: '#d7cd6e',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd6e;
$custom-light: #e5dc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd6e",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 110
  },
  "hsl": {
    "h": 54.286,
    "s": 56.757,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83665,
    "c": 0.11762,
    "h": 103.3
  },
  "luminance": 0.59236
}

Semantic roles & 50–950 ramp

primary
#D7CD6E
secondary
#464FA3
accent
#31C421
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7CD6E

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

Preview Lab → · Contrast checker → · Palette generator →

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