#D2D682#D2D682

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

Color values

HEX#D2D682
RGBrgb(210, 214, 130)
HSLhsl(63, 51%, 67%)
HSVhsv(63, 39%, 84%)
CMYKcmyk(1.9%, 0%, 39.3%, 16.1%)
CIE-LABlab(83.66, -13.77, 41.00)
CIE-LCHlch(83.66, 43.25, 108.57°)
OKLaboklab(85.43% -0.0379 0.0999)
OKLCHoklch(85.43% 0.107 110.8)
XYZxyz(54.6548, 63.4074, 30.4745)
Luminance0.6341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D682 #8682D6
analogous
#D6B082 #D2D682 #A8D682
triadic
#D2D682 #82D2D6 #D682D2
tetradic
#D2D682 #82D6B0 #8682D6 #D682A8
square
#D2D682 #82D6B0 #8682D6 #D682A8
split-complementary
#D2D682 #82A8D6 #B082D6
monochromatic
#A2A737 #C1C754 #D2D682 #E3E5B0 #F3F4DE

Accessibility & contrast

On white

1.53
#D2D682 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#D2D682 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D682
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D682#FFFFFF#000000##000000
##D2D6821.001.5313.6813.68
#FFFFFF1.531.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF7C
Deuteranopia (green-blind)
#E3D286
Tritanopia (blue-blind)
#DCCDC1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d682;
/* rgb */ color: rgb(210, 214, 130);
/* oklch */ color: oklch(85.4% 0.107 110.8);
Tailwind
colors: {
  custom: {
    50: '#e1e2a7',
    500: '#d2d682',
    950: '#000000',
  },
}
SCSS
$custom: #d2d682;
$custom-light: #e1e2a7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d682",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 130
  },
  "hsl": {
    "h": 62.857,
    "s": 50.602,
    "l": 67.451
  },
  "oklch": {
    "l": 0.85428,
    "c": 0.10682,
    "h": 110.8
  },
  "luminance": 0.63406
}

Semantic roles & 50–950 ramp

primary
#D2D682
secondary
#5651AB
accent
#28BE2F
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #D2D682

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

Preview Lab → · Contrast checker → · Palette generator →

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