#D2D386#D2D386

#D2D386 is a very light, moderate yellow. Relative luminance 0.620; OKLCH L 84.9% C 0.099 H 109.0°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#D2D386
RGBrgb(210, 211, 134)
HSLhsl(61, 47%, 68%)
HSVhsv(61, 36%, 83%)
CMYKcmyk(0.5%, 0%, 36.5%, 17.3%)
CIE-LABlab(82.92, -11.81, 38.05)
CIE-LCHlch(82.92, 39.84, 107.25°)
OKLaboklab(84.86% -0.0321 0.0933)
OKLCHoklch(84.86% 0.099 109)
XYZxyz(54.1763, 62.0124, 31.6653)
Luminance0.6201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D386 #8786D3
analogous
#D3AD86 #D2D386 #ACD386
triadic
#D2D386 #86D2D3 #D386D2
tetradic
#D2D386 #86D3AD #8786D3 #D386AC
square
#D2D386 #86D3AD #8786D3 #D386AC
split-complementary
#D2D386 #86ACD3 #AD86D3
monochromatic
#A2A33B #C1C359 #D2D386 #E3E3B3 #F3F4E0

Accessibility & contrast

On white

1.57
#D2D386 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#D2D386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D386
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D386#FFFFFF#000000##000000
##D2D3861.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCD80
Deuteranopia (green-blind)
#E0D089
Tritanopia (blue-blind)
#DCCAC0
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d386;
/* rgb */ color: rgb(210, 211, 134);
/* oklch */ color: oklch(84.9% 0.099 109.0);
Tailwind
colors: {
  custom: {
    50: '#e1e0aa',
    500: '#d2d386',
    950: '#000000',
  },
}
SCSS
$custom: #d2d386;
$custom-light: #e1e0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d386",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 134
  },
  "hsl": {
    "h": 60.779,
    "s": 46.667,
    "l": 67.647
  },
  "oklch": {
    "l": 0.84861,
    "c": 0.09865,
    "h": 109
  },
  "luminance": 0.62011
}

Semantic roles & 50–950 ramp

primary
#D2D386
secondary
#5655A8
accent
#2CBA2D
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2D386

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

Preview Lab → · Contrast checker → · Palette generator →

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