#D2D96A#D2D96A

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

Color values

HEX#D2D96A
RGBrgb(210, 217, 106)
HSLhsl(64, 59%, 63%)
HSVhsv(64, 51%, 85%)
CMYKcmyk(3.2%, 0%, 51.2%, 14.9%)
CIE-LABlab(84.16, -17.61, 53.21)
CIE-LCHlch(84.16, 56.05, 108.32°)
OKLaboklab(85.73% -0.051 0.1252)
OKLCHoklch(85.73% 0.135 112.2)
XYZxyz(53.9938, 64.3690, 23.2130)
Luminance0.6437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D96A #716AD9
analogous
#D9A86A #D2D96A #9AD96A
triadic
#D2D96A #6AD2D9 #D96AD2
tetradic
#D2D96A #6AD9A8 #716AD9 #D96A9A
square
#D2D96A #6AD9A8 #716AD9 #D96A9A
split-complementary
#D2D96A #6A9AD9 #A86AD9
monochromatic
#98A029 #C3CD39 #D2D96A #E1E59B #EFF2CC

Accessibility & contrast

On white

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

On black

13.87
#D2D96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D96A
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D96A#FFFFFF#000000##000000
##D2D96A1.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d96a;
/* rgb */ color: rgb(210, 217, 106);
/* oklch */ color: oklch(85.7% 0.135 112.2);
Tailwind
colors: {
  custom: {
    50: '#e2e497',
    500: '#d2d96a',
    950: '#000000',
  },
}
SCSS
$custom: #d2d96a;
$custom-light: #e2e497;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d96a",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 106
  },
  "hsl": {
    "h": 63.784,
    "s": 59.358,
    "l": 63.333
  },
  "oklch": {
    "l": 0.85731,
    "c": 0.13523,
    "h": 112.2
  },
  "luminance": 0.64368
}

Semantic roles & 50–950 ramp

primary
#D2D96A
secondary
#4A44A4
accent
#1EC729
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D96A

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

Preview Lab → · Contrast checker → · Palette generator →

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