#D7C66A#D7C66A

#D7C66A is a very light, moderate yellow. Relative luminance 0.559; OKLCH L 82.2% C 0.115 H 99.1°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#D7C66A
RGBrgb(215, 198, 106)
HSLhsl(51, 58%, 63%)
HSVhsv(51, 51%, 84%)
CMYKcmyk(0%, 7.9%, 50.7%, 15.7%)
CIE-LABlab(79.54, -6.00, 47.83)
CIE-LCHlch(79.54, 48.21, 97.15°)
OKLaboklab(82.16% -0.0181 0.1134)
OKLCHoklch(82.16% 0.115 99.1)
XYZxyz(50.8215, 55.8777, 21.7413)
Luminance0.5588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C66A #6A7BD7
analogous
#D78F6A #D7C66A #B2D76A
triadic
#D7C66A #6AD7C6 #C66AD7
tetradic
#D7C66A #6AD78F #6A7BD7 #D76AB2
square
#D7C66A #6AD78F #6A7BD7 #D76AB2
split-complementary
#D7C66A #6AB2D7 #8F6AD7
monochromatic
#9D8B2A #CAB43A #D7C66A #E4D89A #F1EBCA

Accessibility & contrast

On white

1.72
#D7C66A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#D7C66A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C66A
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C66A#FFFFFF#000000##000000
##D7C66A1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C162
Deuteranopia (green-blind)
#DAC86E
Tritanopia (blue-blind)
#E5BAB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c66a;
/* rgb */ color: rgb(215, 198, 106);
/* oklch */ color: oklch(82.2% 0.115 99.1);
Tailwind
colors: {
  custom: {
    50: '#e5d797',
    500: '#d7c66a',
    950: '#000000',
  },
}
SCSS
$custom: #d7c66a;
$custom-light: #e5d797;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c66a",
  "rgb": {
    "r": 215,
    "g": 198,
    "b": 106
  },
  "hsl": {
    "h": 50.642,
    "s": 57.672,
    "l": 62.941
  },
  "oklch": {
    "l": 0.8216,
    "c": 0.11487,
    "h": 99.1
  },
  "luminance": 0.55876
}

Semantic roles & 50–950 ramp

primary
#D7C66A
secondary
#4453A1
accent
#3AC520
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D7C66A

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

Preview Lab → · Contrast checker → · Palette generator →

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