#D7E786#D7E786

#D7E786 is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 89.5% C 0.123 H 116.6°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#D7E786
RGBrgb(215, 231, 134)
HSLhsl(70, 67%, 72%)
HSVhsv(70, 42%, 91%)
CMYKcmyk(6.9%, 0%, 42%, 9.4%)
CIE-LABlab(88.60, -19.80, 45.34)
CIE-LCHlch(88.60, 49.47, 113.60°)
OKLaboklab(89.48% -0.055 0.1098)
OKLCHoklch(89.48% 0.123 116.6)
XYZxyz(60.9038, 73.3207, 33.4935)
Luminance0.7332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E786 #9686E7
analogous
#E7C786 #D7E786 #A7E786
triadic
#D7E786 #86D7E7 #E786D7
tetradic
#D7E786 #86E7C7 #9686E7 #E786A7
square
#D7E786 #86E7C7 #9686E7 #E786A7
split-complementary
#D7E786 #86A7E7 #C786E7
monochromatic
#B0CA28 #C6DD53 #D7E786 #E8F1B9 #F7FAE5

Accessibility & contrast

On white

1.34
#D7E786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.66
#D7E786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E786
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E786#FFFFFF#000000##000000
##D7E7861.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DE7E
Deuteranopia (green-blind)
#F1DF8B
Tritanopia (blue-blind)
#E1DDD0
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d7e786;
/* rgb */ color: rgb(215, 231, 134);
/* oklch */ color: oklch(89.5% 0.123 116.6);
Tailwind
colors: {
  custom: {
    50: '#e5eeab',
    500: '#d7e786',
    950: '#000000',
  },
}
SCSS
$custom: #d7e786;
$custom-light: #e5eeab;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e786",
  "rgb": {
    "r": 215,
    "g": 231,
    "b": 134
  },
  "hsl": {
    "h": 69.897,
    "s": 66.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.8948,
    "c": 0.12285,
    "h": 116.6
  },
  "luminance": 0.7332
}

Semantic roles & 50–950 ramp

primary
#D7E786
secondary
#6351C0
accent
#17CF35
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#161610
muted
#848581

Preview Lab

Preview with #D7E786

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

Preview Lab → · Contrast checker → · Palette generator →

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