#D2D86C#D2D86C

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

Color values

HEX#D2D86C
RGBrgb(210, 216, 108)
HSLhsl(63, 58%, 64%)
HSVhsv(63, 50%, 85%)
CMYKcmyk(2.8%, 0%, 50%, 15.3%)
CIE-LABlab(83.91, -16.94, 51.99)
CIE-LCHlch(83.91, 54.68, 108.05°)
OKLaboklab(85.54% -0.0489 0.1228)
OKLCHoklch(85.54% 0.132 111.7)
XYZxyz(53.8420, 63.8971, 23.6815)
Luminance0.6390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D86C #726CD8
analogous
#D8A86C #D2D86C #9CD86C
triadic
#D2D86C #6CD2D8 #D86CD2
tetradic
#D2D86C #6CD8A8 #726CD8 #D86C9C
square
#D2D86C #6CD8A8 #726CD8 #D86C9C
split-complementary
#D2D86C #6C9CD8 #A86CD8
monochromatic
#999F2A #C3CB3C #D2D86C #E1E59C #F0F2CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D86C#FFFFFF#000000##000000
##D2D86C1.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)
#E6D062
Deuteranopia (green-blind)
#E6D372
Tritanopia (blue-blind)
#DECDBF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d86c;
/* rgb */ color: rgb(210, 216, 108);
/* oklch */ color: oklch(85.5% 0.132 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e399',
    500: '#d2d86c',
    950: '#000000',
  },
}
SCSS
$custom: #d2d86c;
$custom-light: #e2e399;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d86c",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 108
  },
  "hsl": {
    "h": 63.333,
    "s": 58.065,
    "l": 63.529
  },
  "oklch": {
    "l": 0.85542,
    "c": 0.13216,
    "h": 111.7
  },
  "luminance": 0.63896
}

Semantic roles & 50–950 ramp

primary
#D2D86C
secondary
#4A45A3
accent
#20C629
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D86C

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

Preview Lab → · Contrast checker → · Palette generator →

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