#D7D86E#D7D86E

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

Color values

HEX#D7D86E
RGBrgb(215, 216, 110)
HSLhsl(61, 58%, 64%)
HSVhsv(61, 49%, 85%)
CMYKcmyk(0.5%, 0%, 49.1%, 15.3%)
CIE-LABlab(84.32, -14.77, 51.63)
CIE-LCHlch(84.32, 53.70, 105.96°)
OKLaboklab(85.97% -0.0428 0.1221)
OKLCHoklch(85.97% 0.129 109.3)
XYZxyz(55.3959, 64.6859, 24.3163)
Luminance0.6469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D86E #6F6ED8
analogous
#D8A46E #D7D86E #A2D86E
triadic
#D7D86E #6ED7D8 #D86ED7
tetradic
#D7D86E #6ED8A4 #6F6ED8 #D86EA2
square
#D7D86E #6ED8A4 #6F6ED8 #D86EA2
split-complementary
#D7D86E #6EA2D8 #A46ED8
monochromatic
#9FA02B #CACB3E #D7D86E #E4E59E #F2F2CE

Accessibility & contrast

On white

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

On black

13.94
#D7D86E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D86E
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D86E#FFFFFF#000000##000000
##D7D86E1.001.5113.9413.94
#FFFFFF1.511.0021.0021.00
#00000013.9421.001.001.00
##00000013.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d86e;
/* rgb */ color: rgb(215, 216, 110);
/* oklch */ color: oklch(86.0% 0.129 109.3);
Tailwind
colors: {
  custom: {
    50: '#e5e39a',
    500: '#d7d86e',
    950: '#000000',
  },
}
SCSS
$custom: #d7d86e;
$custom-light: #e5e39a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d86e",
  "rgb": {
    "r": 215,
    "g": 216,
    "b": 110
  },
  "hsl": {
    "h": 60.566,
    "s": 57.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85971,
    "c": 0.12938,
    "h": 109.3
  },
  "luminance": 0.64685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7D86E

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

Preview Lab → · Contrast checker → · Palette generator →

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