#D2D982#D2D982

#D2D982 is a very light, moderate yellow. Relative luminance 0.649; OKLCH L 86.1% C 0.111 H 112.5°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#D2D982
RGBrgb(210, 217, 130)
HSLhsl(65, 53%, 68%)
HSVhsv(65, 40%, 85%)
CMYKcmyk(3.2%, 0%, 40.1%, 14.9%)
CIE-LABlab(84.45, -15.27, 42.01)
CIE-LCHlch(84.45, 44.69, 109.98°)
OKLaboklab(86.06% -0.0422 0.1021)
OKLCHoklch(86.06% 0.111 112.5)
XYZxyz(55.4210, 64.9399, 30.7299)
Luminance0.6494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D982 #8982D9
analogous
#D9B582 #D2D982 #A6D982
triadic
#D2D982 #82D2D9 #D982D2
tetradic
#D2D982 #82D9B5 #8982D9 #D982A6
square
#D2D982 #82D9B5 #8982D9 #D982A6
split-complementary
#D2D982 #82A6D9 #B582D9
monochromatic
#A3AC34 #C1CB53 #D2D982 #E3E7B1 #F4F6E0

Accessibility & contrast

On white

1.50
#D2D982 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#D2D982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D982
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D982#FFFFFF#000000##000000
##D2D9821.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D27B
Deuteranopia (green-blind)
#E5D486
Tritanopia (blue-blind)
#DCD0C4
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d2d982;
/* rgb */ color: rgb(210, 217, 130);
/* oklch */ color: oklch(86.1% 0.111 112.5);
Tailwind
colors: {
  custom: {
    50: '#e1e4a7',
    500: '#d2d982',
    950: '#000000',
  },
}
SCSS
$custom: #d2d982;
$custom-light: #e1e4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d982",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 130
  },
  "hsl": {
    "h": 64.828,
    "s": 53.374,
    "l": 68.039
  },
  "oklch": {
    "l": 0.86062,
    "c": 0.11053,
    "h": 112.5
  },
  "luminance": 0.64939
}

Semantic roles & 50–950 ramp

primary
#D2D982
secondary
#5850AF
accent
#25C131
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#151510
muted
#848480

Preview Lab

Preview with #D2D982

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

Preview Lab → · Contrast checker → · Palette generator →

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