#D7D786#D7D786

#D7D786 is a very light, moderate yellow. Relative luminance 0.648; OKLCH L 86.1% C 0.103 H 108.4°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#D7D786
RGBrgb(215, 215, 134)
HSLhsl(60, 50%, 68%)
HSVhsv(60, 38%, 84%)
CMYKcmyk(0%, 0%, 37.7%, 15.7%)
CIE-LABlab(84.37, -11.88, 39.98)
CIE-LCHlch(84.37, 41.70, 106.55°)
OKLaboklab(86.11% -0.0325 0.0977)
OKLCHoklch(86.11% 0.103 108.4)
XYZxyz(56.6286, 64.7703, 32.0684)
Luminance0.6477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D786 #8686D7
analogous
#D7AE86 #D7D786 #AED786
triadic
#D7D786 #86D7D7 #D786D7
tetradic
#D7D786 #86D7AE #8686D7 #D786AE
square
#D7D786 #86D7AE #8686D7 #D786AE
split-complementary
#D7D786 #86AED7 #AE86D7
monochromatic
#AAAA38 #C8C858 #D7D786 #E6E6B4 #F5F5E2

Accessibility & contrast

On white

1.50
#D7D786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#D7D786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D786
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D786#FFFFFF#000000##000000
##D7D7861.001.5013.9513.95
#FFFFFF1.501.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D180
Deuteranopia (green-blind)
#E5D489
Tritanopia (blue-blind)
#E2CEC3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d786;
/* rgb */ color: rgb(215, 215, 134);
/* oklch */ color: oklch(86.1% 0.103 108.4);
Tailwind
colors: {
  custom: {
    50: '#e4e3aa',
    500: '#d7d786',
    950: '#000000',
  },
}
SCSS
$custom: #d7d786;
$custom-light: #e4e3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d786",
  "rgb": {
    "r": 215,
    "g": 215,
    "b": 134
  },
  "hsl": {
    "h": 60,
    "s": 50.311,
    "l": 68.431
  },
  "oklch": {
    "l": 0.86105,
    "c": 0.10293,
    "h": 108.4
  },
  "luminance": 0.64769
}

Semantic roles & 50–950 ramp

primary
#D7D786
secondary
#5454AD
accent
#28BE28
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D7D786

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

Preview Lab → · Contrast checker → · Palette generator →

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