#D2D86D#D2D86D

#D2D86D is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.6% C 0.131 H 111.7°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#D2D86D
RGBrgb(210, 216, 109)
HSLhsl(63, 58%, 64%)
HSVhsv(63, 50%, 85%)
CMYKcmyk(2.8%, 0%, 49.5%, 15.3%)
CIE-LABlab(83.92, -16.86, 51.53)
CIE-LCHlch(83.92, 54.22, 108.11°)
OKLaboklab(85.56% -0.0486 0.1219)
OKLCHoklch(85.56% 0.131 111.7)
XYZxyz(53.8956, 63.9185, 23.9634)
Luminance0.6392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D86D #736DD8
analogous
#D8A86D #D2D86D #9CD86D
triadic
#D2D86D #6DD2D8 #D86DD2
tetradic
#D2D86D #6DD8A8 #736DD8 #D86D9C
square
#D2D86D #6DD8A8 #736DD8 #D86D9C
split-complementary
#D2D86D #6D9CD8 #A86DD8
monochromatic
#99A02B #C3CB3D #D2D86D #E1E59D #F0F2CE

Accessibility & contrast

On white

1.52
#D2D86D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#D2D86D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D86D
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D86D#FFFFFF#000000##000000
##D2D86D1.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D063
Deuteranopia (green-blind)
#E6D373
Tritanopia (blue-blind)
#DECDC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d86d;
/* rgb */ color: rgb(210, 216, 109);
/* oklch */ color: oklch(85.6% 0.131 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e399',
    500: '#d2d86d',
    950: '#000000',
  },
}
SCSS
$custom: #d2d86d;
$custom-light: #e2e399;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d86d",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 109
  },
  "hsl": {
    "h": 63.364,
    "s": 57.838,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85555,
    "c": 0.13119,
    "h": 111.7
  },
  "luminance": 0.63917
}

Semantic roles & 50–950 ramp

primary
#D2D86D
secondary
#4B45A4
accent
#20C529
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D86D

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

Preview Lab → · Contrast checker → · Palette generator →

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