#D7C76E#D7C76E

#D7C76E is a very light, moderate yellow. Relative luminance 0.564; OKLCH L 82.4% C 0.112 H 99.3°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#D7C76E
RGBrgb(215, 199, 110)
HSLhsl(51, 57%, 64%)
HSVhsv(51, 49%, 84%)
CMYKcmyk(0%, 7.4%, 48.8%, 15.7%)
CIE-LABlab(79.85, -6.16, 46.26)
CIE-LCHlch(79.85, 46.67, 97.59°)
OKLaboklab(82.42% -0.0181 0.1103)
OKLCHoklch(82.42% 0.112 99.3)
XYZxyz(51.2637, 56.4215, 22.9389)
Luminance0.5642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C76E #6E7ED7
analogous
#D7926E #D7C76E #B2D76E
triadic
#D7C76E #6ED7C7 #C76ED7
tetradic
#D7C76E #6ED792 #6E7ED7 #D76EB2
square
#D7C76E #6ED792 #6E7ED7 #D76EB2
split-complementary
#D7C76E #6EB2D7 #926ED7
monochromatic
#9F8D2C #CAB43E #D7C76E #E4DA9E #F1ECCE

Accessibility & contrast

On white

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

On black

12.28
#D7C76E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C76E
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C76E#FFFFFF#000000##000000
##D7C76E1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C266
Deuteranopia (green-blind)
#DBC972
Tritanopia (blue-blind)
#E5BCB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c76e;
/* rgb */ color: rgb(215, 199, 110);
/* oklch */ color: oklch(82.4% 0.112 99.3);
Tailwind
colors: {
  custom: {
    50: '#e5d799',
    500: '#d7c76e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c76e;
$custom-light: #e5d799;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c76e",
  "rgb": {
    "r": 215,
    "g": 199,
    "b": 110
  },
  "hsl": {
    "h": 50.857,
    "s": 56.757,
    "l": 63.725
  },
  "oklch": {
    "l": 0.82421,
    "c": 0.11179,
    "h": 99.3
  },
  "luminance": 0.5642
}

Semantic roles & 50–950 ramp

primary
#D7C76E
secondary
#4654A3
accent
#3AC421
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D7C76E

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

Preview Lab → · Contrast checker → · Palette generator →

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