#D2D685#D2D685

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

Color values

HEX#D2D685
RGBrgb(210, 214, 133)
HSLhsl(63, 50%, 68%)
HSVhsv(63, 38%, 84%)
CMYKcmyk(1.9%, 0%, 37.9%, 16.1%)
CIE-LABlab(83.70, -13.44, 39.55)
CIE-LCHlch(83.70, 41.77, 108.77°)
OKLaboklab(85.48% -0.0368 0.0967)
OKLCHoklch(85.48% 0.103 110.8)
XYZxyz(54.8591, 63.4891, 31.5505)
Luminance0.6349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D685 #8985D6
analogous
#D6B185 #D2D685 #A9D685
triadic
#D2D685 #85D2D6 #D685D2
tetradic
#D2D685 #85D6B1 #8985D6 #D685A9
square
#D2D685 #85D6B1 #8985D6 #D685A9
split-complementary
#D2D685 #85A9D6 #B185D6
monochromatic
#A3A838 #C1C757 #D2D685 #E3E5B3 #F4F5E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D685#FFFFFF#000000##000000
##D2D6851.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)
#E2CF7F
Deuteranopia (green-blind)
#E2D289
Tritanopia (blue-blind)
#DCCDC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d685;
/* rgb */ color: rgb(210, 214, 133);
/* oklch */ color: oklch(85.5% 0.103 110.8);
Tailwind
colors: {
  custom: {
    50: '#e1e2a9',
    500: '#d2d685',
    950: '#000000',
  },
}
SCSS
$custom: #d2d685;
$custom-light: #e1e2a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d685",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 133
  },
  "hsl": {
    "h": 62.963,
    "s": 49.693,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85476,
    "c": 0.10345,
    "h": 110.8
  },
  "luminance": 0.63488
}

Semantic roles & 50–950 ramp

primary
#D2D685
secondary
#5853AC
accent
#28BD30
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2D685

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

Preview Lab → · Contrast checker → · Palette generator →

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