#D2D776#D2D776

#D2D776 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.5% C 0.121 H 111.3°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#D2D776
RGBrgb(210, 215, 118)
HSLhsl(63, 55%, 65%)
HSVhsv(63, 45%, 84%)
CMYKcmyk(2.3%, 0%, 45.1%, 15.7%)
CIE-LABlab(83.76, -15.52, 47.04)
CIE-LCHlch(83.76, 49.53, 108.25°)
OKLaboklab(85.46% -0.0439 0.1127)
OKLCHoklch(85.46% 0.121 111.3)
XYZxyz(54.1497, 63.6115, 26.5617)
Luminance0.6361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D776 #7B76D7
analogous
#D7AC76 #D2D776 #A1D776
triadic
#D2D776 #76D2D7 #D776D2
tetradic
#D2D776 #76D7AC #7B76D7 #D776A1
square
#D2D776 #76D7AC #7B76D7 #D776A1
split-complementary
#D2D776 #76A1D7 #AC76D7
monochromatic
#9DA330 #C2C947 #D2D776 #E2E5A5 #F1F3D5

Accessibility & contrast

On white

1.53
#D2D776 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#D2D776 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D776
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D776#FFFFFF#000000##000000
##D2D7761.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF6E
Deuteranopia (green-blind)
#E5D27B
Tritanopia (blue-blind)
#DDCDC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d776;
/* rgb */ color: rgb(210, 215, 118);
/* oklch */ color: oklch(85.5% 0.121 111.3);
Tailwind
colors: {
  custom: {
    50: '#e1e39f',
    500: '#d2d776',
    950: '#000000',
  },
}
SCSS
$custom: #d2d776;
$custom-light: #e1e39f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d776",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 118
  },
  "hsl": {
    "h": 63.093,
    "s": 54.802,
    "l": 65.294
  },
  "oklch": {
    "l": 0.85461,
    "c": 0.12095,
    "h": 111.3
  },
  "luminance": 0.63611
}

Semantic roles & 50–950 ramp

primary
#D2D776
secondary
#4F4AA7
accent
#23C22B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2D776

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

Preview Lab → · Contrast checker → · Palette generator →

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