#D2DB87#D2DB87

#D2DB87 is a very light, moderate yellow. Relative luminance 0.661; OKLCH L 86.6% C 0.107 H 113.7°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#D2DB87
RGBrgb(210, 219, 135)
HSLhsl(66, 54%, 69%)
HSVhsv(66, 38%, 86%)
CMYKcmyk(4.1%, 0%, 38.4%, 14.1%)
CIE-LABlab(85.05, -15.71, 40.28)
CIE-LCHlch(85.05, 43.23, 111.31°)
OKLaboklab(86.57% -0.0431 0.0985)
OKLCHoklch(86.57% 0.107 113.7)
XYZxyz(56.2835, 66.1147, 32.7134)
Luminance0.6611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DB87 #9087DB
analogous
#DBBA87 #D2DB87 #A8DB87
triadic
#D2DB87 #87D2DB #DB87D2
tetradic
#D2DB87 #87DBBA #9087DB #DB87A8
square
#D2DB87 #87DBBA #9087DB #DB87A8
split-complementary
#D2DB87 #87A8DB #BA87DB
monochromatic
#A5B235 #C0CD58 #D2DB87 #E4E9B6 #F5F7E5

Accessibility & contrast

On white

1.48
#D2DB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#D2DB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DB87
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DB87#FFFFFF#000000##000000
##D2DB871.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D381
Deuteranopia (green-blind)
#E6D58B
Tritanopia (blue-blind)
#DBD2C6
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d2db87;
/* rgb */ color: rgb(210, 219, 135);
/* oklch */ color: oklch(86.6% 0.107 113.7);
Tailwind
colors: {
  custom: {
    50: '#e1e6ab',
    500: '#d2db87',
    950: '#000000',
  },
}
SCSS
$custom: #d2db87;
$custom-light: #e1e6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d2db87",
  "rgb": {
    "r": 210,
    "g": 219,
    "b": 135
  },
  "hsl": {
    "h": 66.429,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.86565,
    "c": 0.10748,
    "h": 113.7
  },
  "luminance": 0.66114
}

Semantic roles & 50–950 ramp

primary
#D2DB87
secondary
#5E54B2
accent
#24C135
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2DB87

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

Preview Lab → · Contrast checker → · Palette generator →

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