#D7C76A#D7C76A

#D7C76A is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.4% C 0.116 H 99.7°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#D7C76A
RGBrgb(215, 199, 106)
HSLhsl(51, 58%, 63%)
HSVhsv(51, 51%, 84%)
CMYKcmyk(0%, 7.4%, 50.7%, 15.7%)
CIE-LABlab(79.80, -6.52, 48.15)
CIE-LCHlch(79.80, 48.59, 97.71°)
OKLaboklab(82.37% -0.0196 0.1141)
OKLCHoklch(82.37% 0.116 99.7)
XYZxyz(51.0508, 56.3364, 21.8178)
Luminance0.5634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C76A #6A7AD7
analogous
#D7916A #D7C76A #B0D76A
triadic
#D7C76A #6AD7C7 #C76AD7
tetradic
#D7C76A #6AD791 #6A7AD7 #D76AB0
square
#D7C76A #6AD791 #6A7AD7 #D76AB0
split-complementary
#D7C76A #6AB0D7 #916AD7
monochromatic
#9D8C2A #CAB53A #D7C76A #E4D99A #F1EBCA

Accessibility & contrast

On white

1.71
#D7C76A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#D7C76A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C76A
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C76A#FFFFFF#000000##000000
##D7C76A1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C262
Deuteranopia (green-blind)
#DBC96E
Tritanopia (blue-blind)
#E5BBB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c76a;
/* rgb */ color: rgb(215, 199, 106);
/* oklch */ color: oklch(82.4% 0.116 99.7);
Tailwind
colors: {
  custom: {
    50: '#e5d797',
    500: '#d7c76a',
    950: '#000000',
  },
}
SCSS
$custom: #d7c76a;
$custom-light: #e5d797;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c76a",
  "rgb": {
    "r": 215,
    "g": 199,
    "b": 106
  },
  "hsl": {
    "h": 51.193,
    "s": 57.672,
    "l": 62.941
  },
  "oklch": {
    "l": 0.82367,
    "c": 0.1158,
    "h": 99.7
  },
  "luminance": 0.56335
}

Semantic roles & 50–950 ramp

primary
#D7C76A
secondary
#4452A1
accent
#38C520
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D7C76A

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

Preview Lab → · Contrast checker → · Palette generator →

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