#D2D976#D2D976

#D2D976 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 85.9% C 0.123 H 112.3°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#D2D976
RGBrgb(210, 217, 118)
HSLhsl(64, 57%, 66%)
HSVhsv(64, 46%, 85%)
CMYKcmyk(3.2%, 0%, 45.6%, 14.9%)
CIE-LABlab(84.30, -16.51, 47.69)
CIE-LCHlch(84.30, 50.47, 109.09°)
OKLaboklab(85.89% -0.0467 0.1141)
OKLCHoklch(85.89% 0.123 112.3)
XYZxyz(54.6621, 64.6363, 26.7325)
Luminance0.6463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D976 #7D76D9
analogous
#D9AE76 #D2D976 #A0D976
triadic
#D2D976 #76D2D9 #D976D2
tetradic
#D2D976 #76D9AE #7D76D9 #D976A0
square
#D2D976 #76D9AE #7D76D9 #D976A0
split-complementary
#D2D976 #76A0D9 #AE76D9
monochromatic
#9EA62E #C2CC46 #D2D976 #E2E6A6 #F1F4D6

Accessibility & contrast

On white

1.51
#D2D976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#D2D976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D976
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D976#FFFFFF#000000##000000
##D2D9761.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D16E
Deuteranopia (green-blind)
#E6D47B
Tritanopia (blue-blind)
#DDCFC2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d2d976;
/* rgb */ color: rgb(210, 217, 118);
/* oklch */ color: oklch(85.9% 0.123 112.3);
Tailwind
colors: {
  custom: {
    50: '#e1e49f',
    500: '#d2d976',
    950: '#000000',
  },
}
SCSS
$custom: #d2d976;
$custom-light: #e1e49f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d976",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 118
  },
  "hsl": {
    "h": 64.242,
    "s": 56.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85886,
    "c": 0.12333,
    "h": 112.3
  },
  "luminance": 0.64635
}

Semantic roles & 50–950 ramp

primary
#D2D976
secondary
#5049AA
accent
#21C42D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2D976

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

Preview Lab → · Contrast checker → · Palette generator →

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