#D7DB87#D7DB87

#D7DB87 is a very light, moderate yellow. Relative luminance 0.669; OKLCH L 87.0% C 0.107 H 110.8°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#D7DB87
RGBrgb(215, 219, 135)
HSLhsl(63, 54%, 69%)
HSVhsv(63, 38%, 86%)
CMYKcmyk(1.8%, 0%, 38.4%, 14.1%)
CIE-LABlab(85.43, -13.77, 40.84)
CIE-LCHlch(85.43, 43.10, 108.64°)
OKLaboklab(86.96% -0.0378 0.0997)
OKLCHoklch(86.96% 0.107 110.8)
XYZxyz(57.7296, 66.8603, 32.7812)
Luminance0.6686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DB87 #8B87DB
analogous
#DBB587 #D7DB87 #ADDB87
triadic
#D7DB87 #87D7DB #DB87D7
tetradic
#D7DB87 #87DBB5 #8B87DB #DB87AD
square
#D7DB87 #87DBB5 #8B87DB #DB87AD
split-complementary
#D7DB87 #87ADDB #B587DB
monochromatic
#ACB235 #C7CD58 #D7DB87 #E7E9B6 #F6F7E5

Accessibility & contrast

On white

1.46
#D7DB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#D7DB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DB87
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DB87#FFFFFF#000000##000000
##D7DB871.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D481
Deuteranopia (green-blind)
#E8D78B
Tritanopia (blue-blind)
#E1D2C6
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7db87;
/* rgb */ color: rgb(215, 219, 135);
/* oklch */ color: oklch(87.0% 0.107 110.8);
Tailwind
colors: {
  custom: {
    50: '#e4e6ab',
    500: '#d7db87',
    950: '#000000',
  },
}
SCSS
$custom: #d7db87;
$custom-light: #e4e6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d7db87",
  "rgb": {
    "r": 215,
    "g": 219,
    "b": 135
  },
  "hsl": {
    "h": 62.857,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.86959,
    "c": 0.10663,
    "h": 110.8
  },
  "luminance": 0.66859
}

Semantic roles & 50–950 ramp

primary
#D7DB87
secondary
#5954B2
accent
#24C12C
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D7DB87

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

Preview Lab → · Contrast checker → · Palette generator →

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