#D2D686#D2D686

#D2D686 is a very light, moderate yellow. Relative luminance 0.635; OKLCH L 85.5% C 0.102 H 110.8°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#D2D686
RGBrgb(210, 214, 134)
HSLhsl(63, 49%, 68%)
HSVhsv(63, 37%, 84%)
CMYKcmyk(1.9%, 0%, 37.4%, 16.1%)
CIE-LABlab(83.71, -13.32, 39.06)
CIE-LCHlch(83.71, 41.27, 108.83°)
OKLaboklab(85.49% -0.0364 0.0956)
OKLCHoklch(85.49% 0.102 110.8)
XYZxyz(54.9285, 63.5169, 31.9160)
Luminance0.6352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D686 #8A86D6
analogous
#D6B286 #D2D686 #AAD686
triadic
#D2D686 #86D2D6 #D686D2
tetradic
#D2D686 #86D6B2 #8A86D6 #D686AA
square
#D2D686 #86D6B2 #8A86D6 #D686AA
split-complementary
#D2D686 #86AAD6 #B286D6
monochromatic
#A3A939 #C1C758 #D2D686 #E3E5B4 #F4F5E1

Accessibility & contrast

On white

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

On black

13.70
#D2D686 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D686
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D686#FFFFFF#000000##000000
##D2D6861.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF80
Deuteranopia (green-blind)
#E2D28A
Tritanopia (blue-blind)
#DCCDC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d686;
/* rgb */ color: rgb(210, 214, 134);
/* oklch */ color: oklch(85.5% 0.102 110.8);
Tailwind
colors: {
  custom: {
    50: '#e1e2aa',
    500: '#d2d686',
    950: '#000000',
  },
}
SCSS
$custom: #d2d686;
$custom-light: #e1e2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d686",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 134
  },
  "hsl": {
    "h": 63,
    "s": 49.383,
    "l": 68.235
  },
  "oklch": {
    "l": 0.85492,
    "c": 0.10232,
    "h": 110.8
  },
  "luminance": 0.63516
}

Semantic roles & 50–950 ramp

primary
#D2D686
secondary
#5954AC
accent
#29BD30
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2D686

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

Preview Lab → · Contrast checker → · Palette generator →

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