#D5D786#D5D786

#D5D786 is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 85.9% C 0.103 H 109.6°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#D5D786
RGBrgb(213, 215, 134)
HSLhsl(61, 50%, 68%)
HSVhsv(61, 38%, 84%)
CMYKcmyk(0.9%, 0%, 37.7%, 15.7%)
CIE-LABlab(84.21, -12.66, 39.75)
CIE-LCHlch(84.21, 41.71, 107.67°)
OKLaboklab(85.94% -0.0346 0.0972)
OKLCHoklch(85.94% 0.103 109.6)
XYZxyz(56.0447, 64.4692, 32.0411)
Luminance0.6447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D786 #8886D7
analogous
#D7B086 #D5D786 #ACD786
triadic
#D5D786 #86D5D7 #D786D5
tetradic
#D5D786 #86D7B0 #8886D7 #D786AC
square
#D5D786 #86D7B0 #8886D7 #D786AC
split-complementary
#D5D786 #86ACD7 #B086D7
monochromatic
#A7AA38 #C5C858 #D5D786 #E5E6B4 #F5F5E2

Accessibility & contrast

On white

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

On black

13.89
#D5D786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D786
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D786#FFFFFF#000000##000000
##D5D7861.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D080
Deuteranopia (green-blind)
#E4D38A
Tritanopia (blue-blind)
#DFCEC3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d5d786;
/* rgb */ color: rgb(213, 215, 134);
/* oklch */ color: oklch(85.9% 0.103 109.6);
Tailwind
colors: {
  custom: {
    50: '#e3e3aa',
    500: '#d5d786',
    950: '#000000',
  },
}
SCSS
$custom: #d5d786;
$custom-light: #e3e3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d786",
  "rgb": {
    "r": 213,
    "g": 215,
    "b": 134
  },
  "hsl": {
    "h": 61.481,
    "s": 50.311,
    "l": 68.431
  },
  "oklch": {
    "l": 0.85943,
    "c": 0.10315,
    "h": 109.6
  },
  "luminance": 0.64468
}

Semantic roles & 50–950 ramp

primary
#D5D786
secondary
#5654AD
accent
#28BE2C
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D5D786

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

Preview Lab → · Contrast checker → · Palette generator →

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