#D2D486#D2D486

#D2D486 is a very light, moderate yellow. Relative luminance 0.625; OKLCH L 85.1% C 0.100 H 109.6°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#D2D486
RGBrgb(210, 212, 134)
HSLhsl(62, 48%, 68%)
HSVhsv(62, 37%, 83%)
CMYKcmyk(0.9%, 0%, 36.8%, 16.9%)
CIE-LABlab(83.18, -12.32, 38.38)
CIE-LCHlch(83.18, 40.31, 107.79°)
OKLaboklab(85.07% -0.0335 0.0941)
OKLCHoklch(85.07% 0.1 109.6)
XYZxyz(54.4255, 62.5108, 31.7484)
Luminance0.6251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D486 #8886D4
analogous
#D4AF86 #D2D486 #ABD486
triadic
#D2D486 #86D2D4 #D486D2
tetradic
#D2D486 #86D4AF #8886D4 #D486AB
square
#D2D486 #86D4AF #8886D4 #D486AB
split-complementary
#D2D486 #86ABD4 #AF86D4
monochromatic
#A2A53B #C1C459 #D2D486 #E3E4B3 #F4F4E0

Accessibility & contrast

On white

1.56
#D2D486 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#D2D486 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D486
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D486#FFFFFF#000000##000000
##D2D4861.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CE80
Deuteranopia (green-blind)
#E0D189
Tritanopia (blue-blind)
#DCCBC1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d486;
/* rgb */ color: rgb(210, 212, 134);
/* oklch */ color: oklch(85.1% 0.100 109.6);
Tailwind
colors: {
  custom: {
    50: '#e1e1aa',
    500: '#d2d486',
    950: '#000000',
  },
}
SCSS
$custom: #d2d486;
$custom-light: #e1e1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d486",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 134
  },
  "hsl": {
    "h": 61.538,
    "s": 47.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.85071,
    "c": 0.09986,
    "h": 109.6
  },
  "luminance": 0.6251
}

Semantic roles & 50–950 ramp

primary
#D2D486
secondary
#5755A9
accent
#2BBB2E
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2D486

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

Preview Lab → · Contrast checker → · Palette generator →

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