#D2D586#D2D586

#D2D586 is a very light, moderate yellow. Relative luminance 0.630; OKLCH L 85.3% C 0.101 H 110.2°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#D2D586
RGBrgb(210, 213, 134)
HSLhsl(62, 48%, 68%)
HSVhsv(62, 37%, 84%)
CMYKcmyk(1.4%, 0%, 37.1%, 16.5%)
CIE-LABlab(83.45, -12.82, 38.72)
CIE-LCHlch(83.45, 40.79, 108.32°)
OKLaboklab(85.28% -0.0349 0.0949)
OKLCHoklch(85.28% 0.101 110.2)
XYZxyz(54.6762, 63.0123, 31.8319)
Luminance0.6301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D586 #8986D5
analogous
#D5B086 #D2D586 #ABD586
triadic
#D2D586 #86D2D5 #D586D2
tetradic
#D2D586 #86D5B0 #8986D5 #D586AB
square
#D2D586 #86D5B0 #8986D5 #D586AB
split-complementary
#D2D586 #86ABD5 #B086D5
monochromatic
#A3A73A #C1C559 #D2D586 #E3E5B3 #F4F5E1

Accessibility & contrast

On white

1.54
#D2D586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#D2D586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D586
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D586#FFFFFF#000000##000000
##D2D5861.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CF80
Deuteranopia (green-blind)
#E1D189
Tritanopia (blue-blind)
#DCCCC1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d586;
/* rgb */ color: rgb(210, 213, 134);
/* oklch */ color: oklch(85.3% 0.101 110.2);
Tailwind
colors: {
  custom: {
    50: '#e1e1aa',
    500: '#d2d586',
    950: '#000000',
  },
}
SCSS
$custom: #d2d586;
$custom-light: #e1e1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d586",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 134
  },
  "hsl": {
    "h": 62.278,
    "s": 48.466,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85282,
    "c": 0.10108,
    "h": 110.2
  },
  "luminance": 0.63011
}

Semantic roles & 50–950 ramp

primary
#D2D586
secondary
#5854AB
accent
#2ABC2F
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2D586

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

Preview Lab → · Contrast checker → · Palette generator →

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