#D7C86E#D7C86E

#D7C86E is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.6% C 0.113 H 100.0°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#D7C86E
RGBrgb(215, 200, 110)
HSLhsl(51, 57%, 64%)
HSVhsv(51, 49%, 84%)
CMYKcmyk(0%, 7%, 48.8%, 15.7%)
CIE-LABlab(80.11, -6.67, 46.57)
CIE-LCHlch(80.11, 47.05, 98.16°)
OKLaboklab(82.63% -0.0196 0.111)
OKLCHoklch(82.63% 0.113 100)
XYZxyz(51.4946, 56.8832, 23.0159)
Luminance0.5688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C86E #6E7DD7
analogous
#D7936E #D7C86E #B1D76E
triadic
#D7C86E #6ED7C8 #C86ED7
tetradic
#D7C86E #6ED793 #6E7DD7 #D76EB1
square
#D7C86E #6ED793 #6E7DD7 #D76EB1
split-complementary
#D7C86E #6EB1D7 #936ED7
monochromatic
#9F8E2C #CAB63E #D7C86E #E4DA9E #F1ECCE

Accessibility & contrast

On white

1.70
#D7C86E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#D7C86E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C86E
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C86E#FFFFFF#000000##000000
##D7C86E1.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C366
Deuteranopia (green-blind)
#DBC972
Tritanopia (blue-blind)
#E5BDB3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7c86e;
/* rgb */ color: rgb(215, 200, 110);
/* oklch */ color: oklch(82.6% 0.113 100.0);
Tailwind
colors: {
  custom: {
    50: '#e5d899',
    500: '#d7c86e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c86e;
$custom-light: #e5d899;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c86e",
  "rgb": {
    "r": 215,
    "g": 200,
    "b": 110
  },
  "hsl": {
    "h": 51.429,
    "s": 56.757,
    "l": 63.725
  },
  "oklch": {
    "l": 0.82627,
    "c": 0.11272,
    "h": 100
  },
  "luminance": 0.56881
}

Semantic roles & 50–950 ramp

primary
#D7C86E
secondary
#4654A3
accent
#38C421
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D7C86E

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

Preview Lab → · Contrast checker → · Palette generator →

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