#D7C666#D7C666

#D7C666 is a very light, moderate yellow. Relative luminance 0.558; OKLCH L 82.1% C 0.119 H 99.5°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#D7C666
RGBrgb(215, 198, 102)
HSLhsl(51, 59%, 62%)
HSVhsv(51, 53%, 84%)
CMYKcmyk(0%, 7.9%, 52.6%, 15.7%)
CIE-LABlab(79.50, -6.34, 49.70)
CIE-LCHlch(79.50, 50.11, 97.27°)
OKLaboklab(82.11% -0.0195 0.1172)
OKLCHoklch(82.11% 0.119 99.5)
XYZxyz(50.6183, 55.7965, 20.6713)
Luminance0.5579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C666 #6677D7
analogous
#D78D66 #D7C666 #B0D766
triadic
#D7C666 #66D7C6 #C666D7
tetradic
#D7C666 #66D78D #6677D7 #D766B0
square
#D7C666 #66D78D #6677D7 #D766B0
split-complementary
#D7C666 #66B0D7 #8D66D7
monochromatic
#9A8928 #CAB435 #D7C666 #E4D897 #F0EAC7

Accessibility & contrast

On white

1.73
#D7C666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#D7C666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C666
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C666#FFFFFF#000000##000000
##D7C6661.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C15D
Deuteranopia (green-blind)
#DBC86A
Tritanopia (blue-blind)
#E5BAB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c666;
/* rgb */ color: rgb(215, 198, 102);
/* oklch */ color: oklch(82.1% 0.119 99.5);
Tailwind
colors: {
  custom: {
    50: '#e6d794',
    500: '#d7c666',
    950: '#000000',
  },
}
SCSS
$custom: #d7c666;
$custom-light: #e6d794;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c666",
  "rgb": {
    "r": 215,
    "g": 198,
    "b": 102
  },
  "hsl": {
    "h": 50.973,
    "s": 58.549,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82109,
    "c": 0.11878,
    "h": 99.5
  },
  "luminance": 0.55795
}

Semantic roles & 50–950 ramp

primary
#D7C666
secondary
#42509F
accent
#38C61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C666

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

Preview Lab → · Contrast checker → · Palette generator →

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