#D7D86D#D7D86D

#D7D86D is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.0% C 0.130 H 109.3°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#D7D86D
RGBrgb(215, 216, 109)
HSLhsl(61, 58%, 64%)
HSVhsv(61, 50%, 85%)
CMYKcmyk(0.5%, 0%, 49.5%, 15.3%)
CIE-LABlab(84.31, -14.85, 52.08)
CIE-LCHlch(84.31, 54.16, 105.92°)
OKLaboklab(85.96% -0.0432 0.123)
OKLCHoklch(85.96% 0.13 109.3)
XYZxyz(55.3418, 64.6642, 24.0312)
Luminance0.6466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D86D #6E6DD8
analogous
#D8A36D #D7D86D #A1D86D
triadic
#D7D86D #6DD7D8 #D86DD7
tetradic
#D7D86D #6DD8A3 #6E6DD8 #D86DA1
square
#D7D86D #6DD8A3 #6E6DD8 #D86DA1
split-complementary
#D7D86D #6DA1D8 #A36DD8
monochromatic
#9FA02B #CACB3D #D7D86D #E4E59D #F1F2CE

Accessibility & contrast

On white

1.51
#D7D86D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#D7D86D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D86D
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D86D#FFFFFF#000000##000000
##D7D86D1.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D063
Deuteranopia (green-blind)
#E8D472
Tritanopia (blue-blind)
#E4CDC0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d86d;
/* rgb */ color: rgb(215, 216, 109);
/* oklch */ color: oklch(86.0% 0.130 109.3);
Tailwind
colors: {
  custom: {
    50: '#e5e399',
    500: '#d7d86d',
    950: '#000000',
  },
}
SCSS
$custom: #d7d86d;
$custom-light: #e5e399;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d86d",
  "rgb": {
    "r": 215,
    "g": 216,
    "b": 109
  },
  "hsl": {
    "h": 60.561,
    "s": 57.838,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85958,
    "c": 0.13035,
    "h": 109.3
  },
  "luminance": 0.64663
}

Semantic roles & 50–950 ramp

primary
#D7D86D
secondary
#4645A4
accent
#20C522
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7D86D

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

Preview Lab → · Contrast checker → · Palette generator →

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