#D2D96D#D2D96D

#D2D96D is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.8% C 0.132 H 112.2°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#D2D96D
RGBrgb(210, 217, 109)
HSLhsl(64, 59%, 64%)
HSVhsv(64, 50%, 85%)
CMYKcmyk(3.2%, 0%, 49.8%, 14.9%)
CIE-LABlab(84.19, -17.35, 51.85)
CIE-LCHlch(84.19, 54.67, 108.50°)
OKLaboklab(85.77% -0.05 0.1226)
OKLCHoklch(85.77% 0.132 112.2)
XYZxyz(54.1525, 64.4325, 24.0491)
Luminance0.6443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D96D #746DD9
analogous
#D9AA6D #D2D96D #9CD96D
triadic
#D2D96D #6DD2D9 #D96DD2
tetradic
#D2D96D #6DD9AA #746DD9 #D96D9C
square
#D2D96D #6DD9AA #746DD9 #D96D9C
split-complementary
#D2D96D #6D9CD9 #AA6DD9
monochromatic
#9AA22A #C3CC3C #D2D96D #E1E69E #F0F2CE

Accessibility & contrast

On white

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

On black

13.89
#D2D96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D96D
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D96D#FFFFFF#000000##000000
##D2D96D1.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D163
Deuteranopia (green-blind)
#E7D373
Tritanopia (blue-blind)
#DECEC0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d2d96d;
/* rgb */ color: rgb(210, 217, 109);
/* oklch */ color: oklch(85.8% 0.132 112.2);
Tailwind
colors: {
  custom: {
    50: '#e2e499',
    500: '#d2d96d',
    950: '#000000',
  },
}
SCSS
$custom: #d2d96d;
$custom-light: #e2e499;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d96d",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 109
  },
  "hsl": {
    "h": 63.889,
    "s": 58.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85768,
    "c": 0.13235,
    "h": 112.2
  },
  "luminance": 0.64431
}

Semantic roles & 50–950 ramp

primary
#D2D96D
secondary
#4B45A5
accent
#1FC62A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D96D

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

Preview Lab → · Contrast checker → · Palette generator →

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