#D7D96D#D7D96D

#D7D96D is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.2% C 0.131 H 109.8°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#D7D96D
RGBrgb(215, 217, 109)
HSLhsl(61, 59%, 64%)
HSVhsv(61, 50%, 85%)
CMYKcmyk(0.9%, 0%, 49.8%, 14.9%)
CIE-LABlab(84.58, -15.35, 52.40)
CIE-LCHlch(84.58, 54.60, 106.33°)
OKLaboklab(86.17% -0.0446 0.1237)
OKLCHoklch(86.17% 0.131 109.8)
XYZxyz(55.5987, 65.1782, 24.1169)
Luminance0.6518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D96D #6F6DD9
analogous
#D9A56D #D7D96D #A1D96D
triadic
#D7D96D #6DD7D9 #D96DD7
tetradic
#D7D96D #6DD9A5 #6F6DD9 #D96DA1
square
#D7D96D #6DD9A5 #6F6DD9 #D96DA1
split-complementary
#D7D96D #6DA1D9 #A56DD9
monochromatic
#9FA22A #CACC3C #D7D96D #E4E69E #F2F2CE

Accessibility & contrast

On white

1.50
#D7D96D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.04
#D7D96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D96D
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D96D#FFFFFF#000000##000000
##D7D96D1.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D163
Deuteranopia (green-blind)
#E9D573
Tritanopia (blue-blind)
#E4CEC0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d7d96d;
/* rgb */ color: rgb(215, 217, 109);
/* oklch */ color: oklch(86.2% 0.131 109.8);
Tailwind
colors: {
  custom: {
    50: '#e5e499',
    500: '#d7d96d',
    950: '#000000',
  },
}
SCSS
$custom: #d7d96d;
$custom-light: #e5e499;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d96d",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 109
  },
  "hsl": {
    "h": 61.111,
    "s": 58.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86169,
    "c": 0.13147,
    "h": 109.8
  },
  "luminance": 0.65177
}

Semantic roles & 50–950 ramp

primary
#D7D96D
secondary
#4745A5
accent
#1FC622
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7D96D

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

Preview Lab → · Contrast checker → · Palette generator →

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