#D2D882#D2D882

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

Color values

HEX#D2D882
RGBrgb(210, 216, 130)
HSLhsl(64, 52%, 68%)
HSVhsv(64, 40%, 85%)
CMYKcmyk(2.8%, 0%, 39.8%, 15.3%)
CIE-LABlab(84.19, -14.77, 41.67)
CIE-LCHlch(84.19, 44.21, 109.52°)
OKLaboklab(85.85% -0.0408 0.1014)
OKLCHoklch(85.85% 0.109 111.9)
XYZxyz(55.1641, 64.4259, 30.6442)
Luminance0.6442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D882 #8882D8
analogous
#D8B382 #D2D882 #A7D882
triadic
#D2D882 #82D2D8 #D882D2
tetradic
#D2D882 #82D8B3 #8882D8 #D882A7
square
#D2D882 #82D8B3 #8882D8 #D882A7
split-complementary
#D2D882 #82A7D8 #B382D8
monochromatic
#A2AA35 #C1C953 #D2D882 #E3E7B1 #F4F5DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D882#FFFFFF#000000##000000
##D2D8821.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)
#E4D17B
Deuteranopia (green-blind)
#E4D386
Tritanopia (blue-blind)
#DCCFC3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d2d882;
/* rgb */ color: rgb(210, 216, 130);
/* oklch */ color: oklch(85.9% 0.109 111.9);
Tailwind
colors: {
  custom: {
    50: '#e1e4a7',
    500: '#d2d882',
    950: '#000000',
  },
}
SCSS
$custom: #d2d882;
$custom-light: #e1e4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d882",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 130
  },
  "hsl": {
    "h": 64.186,
    "s": 52.439,
    "l": 67.843
  },
  "oklch": {
    "l": 0.85851,
    "c": 0.10927,
    "h": 111.9
  },
  "luminance": 0.64425
}

Semantic roles & 50–950 ramp

primary
#D2D882
secondary
#5750AE
accent
#26C030
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #D2D882

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

Preview Lab → · Contrast checker → · Palette generator →

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