#D2DA87#D2DA87

#D2DA87 is a very light, moderate yellow. Relative luminance 0.656; OKLCH L 86.4% C 0.106 H 113.1°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#D2DA87
RGBrgb(210, 218, 135)
HSLhsl(66, 53%, 69%)
HSVhsv(66, 38%, 85%)
CMYKcmyk(3.7%, 0%, 38.1%, 14.5%)
CIE-LABlab(84.79, -15.21, 39.94)
CIE-LCHlch(84.79, 42.74, 110.85°)
OKLaboklab(86.35% -0.0417 0.0977)
OKLCHoklch(86.35% 0.106 113.1)
XYZxyz(56.0234, 65.5945, 32.6267)
Luminance0.6559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DA87 #8F87DA
analogous
#DAB987 #D2DA87 #A9DA87
triadic
#D2DA87 #87D2DA #DA87D2
tetradic
#D2DA87 #87DAB9 #8F87DA #DA87A9
square
#D2DA87 #87DAB9 #8F87DA #DA87A9
split-complementary
#D2DA87 #87A9DA #B987DA
monochromatic
#A5B036 #C0CC58 #D2DA87 #E4E8B6 #F5F7E5

Accessibility & contrast

On white

1.49
#D2DA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#D2DA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DA87
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DA87#FFFFFF#000000##000000
##D2DA871.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D381
Deuteranopia (green-blind)
#E5D58B
Tritanopia (blue-blind)
#DCD1C5
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d2da87;
/* rgb */ color: rgb(210, 218, 135);
/* oklch */ color: oklch(86.4% 0.106 113.1);
Tailwind
colors: {
  custom: {
    50: '#e1e5ab',
    500: '#d2da87',
    950: '#000000',
  },
}
SCSS
$custom: #d2da87;
$custom-light: #e1e5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d2da87",
  "rgb": {
    "r": 210,
    "g": 218,
    "b": 135
  },
  "hsl": {
    "h": 65.783,
    "s": 52.866,
    "l": 69.216
  },
  "oklch": {
    "l": 0.86353,
    "c": 0.10621,
    "h": 113.1
  },
  "luminance": 0.65594
}

Semantic roles & 50–950 ramp

primary
#D2DA87
secondary
#5D55B1
accent
#25C034
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2DA87

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

Preview Lab → · Contrast checker → · Palette generator →

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