#D7C76F#D7C76F

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

Color values

HEX#D7C76F
RGBrgb(215, 199, 111)
HSLhsl(51, 57%, 64%)
HSVhsv(51, 48%, 84%)
CMYKcmyk(0%, 7.4%, 48.4%, 15.7%)
CIE-LABlab(79.87, -6.07, 45.78)
CIE-LCHlch(79.87, 46.18, 97.55°)
OKLaboklab(82.44% -0.0178 0.1093)
OKLCHoklch(82.44% 0.111 99.2)
XYZxyz(51.3185, 56.4434, 23.2273)
Luminance0.5644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C76F #6F7FD7
analogous
#D7936F #D7C76F #B3D76F
triadic
#D7C76F #6FD7C7 #C76FD7
tetradic
#D7C76F #6FD793 #6F7FD7 #D76FB3
square
#D7C76F #6FD793 #6F7FD7 #D76FB3
split-complementary
#D7C76F #6FB3D7 #936FD7
monochromatic
#9F8E2C #CAB43F #D7C76F #E4DA9F #F2ECCF

Accessibility & contrast

On white

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

On black

12.29
#D7C76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C76F
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C76F#FFFFFF#000000##000000
##D7C76F1.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7c76f;
/* rgb */ color: rgb(215, 199, 111);
/* oklch */ color: oklch(82.4% 0.111 99.2);
Tailwind
colors: {
  custom: {
    50: '#e5d79a',
    500: '#d7c76f',
    950: '#000000',
  },
}
SCSS
$custom: #d7c76f;
$custom-light: #e5d79a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c76f",
  "rgb": {
    "r": 215,
    "g": 199,
    "b": 111
  },
  "hsl": {
    "h": 50.769,
    "s": 56.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82435,
    "c": 0.11076,
    "h": 99.2
  },
  "luminance": 0.56442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7C76F

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

Preview Lab → · Contrast checker → · Palette generator →

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