#D2D784#D2D784

#D2D784 is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 85.7% C 0.106 H 111.4°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#D2D784
RGBrgb(210, 215, 132)
HSLhsl(64, 51%, 68%)
HSVhsv(64, 39%, 84%)
CMYKcmyk(2.3%, 0%, 38.6%, 15.7%)
CIE-LABlab(83.95, -14.05, 40.37)
CIE-LCHlch(83.95, 42.75, 109.19°)
OKLaboklab(85.67% -0.0386 0.0985)
OKLCHoklch(85.67% 0.106 111.4)
XYZxyz(55.0442, 63.9693, 31.2730)
Luminance0.6397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D784 #8984D7
analogous
#D7B284 #D2D784 #A9D784
triadic
#D2D784 #84D2D7 #D784D2
tetradic
#D2D784 #84D7B2 #8984D7 #D784A9
square
#D2D784 #84D7B2 #8984D7 #D784A9
split-complementary
#D2D784 #84A9D7 #B284D7
monochromatic
#A3A937 #C1C856 #D2D784 #E3E6B2 #F4F5E0

Accessibility & contrast

On white

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

On black

13.79
#D2D784 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D784
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D784#FFFFFF#000000##000000
##D2D7841.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D07E
Deuteranopia (green-blind)
#E3D388
Tritanopia (blue-blind)
#DCCEC3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d784;
/* rgb */ color: rgb(210, 215, 132);
/* oklch */ color: oklch(85.7% 0.106 111.4);
Tailwind
colors: {
  custom: {
    50: '#e1e3a9',
    500: '#d2d784',
    950: '#000000',
  },
}
SCSS
$custom: #d2d784;
$custom-light: #e1e3a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d784",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 132
  },
  "hsl": {
    "h": 63.614,
    "s": 50.92,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85671,
    "c": 0.10581,
    "h": 111.4
  },
  "luminance": 0.63968
}

Semantic roles & 50–950 ramp

primary
#D2D784
secondary
#5852AD
accent
#27BE30
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#151510
muted
#848480

Preview Lab

Preview with #D2D784

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

Preview Lab → · Contrast checker → · Palette generator →

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