#D7D96E#D7D96E

#D7D96E 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#D7D96E
RGBrgb(215, 217, 110)
HSLhsl(61, 58%, 64%)
HSVhsv(61, 49%, 85%)
CMYKcmyk(0.9%, 0%, 49.3%, 14.9%)
CIE-LABlab(84.59, -15.26, 51.94)
CIE-LCHlch(84.59, 54.14, 106.38°)
OKLaboklab(86.18% -0.0442 0.1228)
OKLCHoklch(86.18% 0.131 109.8)
XYZxyz(55.6529, 65.1998, 24.4020)
Luminance0.6520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D96E #706ED9
analogous
#D9A56E #D7D96E #A2D96E
triadic
#D7D96E #6ED7D9 #D96ED7
tetradic
#D7D96E #6ED9A5 #706ED9 #D96EA2
square
#D7D96E #6ED9A5 #706ED9 #D96EA2
split-complementary
#D7D96E #6EA2D9 #A56ED9
monochromatic
#A0A22A #CACC3E #D7D96E #E4E69E #F2F2CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D96E#FFFFFF#000000##000000
##D7D96E1.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)
#E7D164
Deuteranopia (green-blind)
#E9D573
Tritanopia (blue-blind)
#E4CEC1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d7d96e;
/* rgb */ color: rgb(215, 217, 110);
/* oklch */ color: oklch(86.2% 0.131 109.8);
Tailwind
colors: {
  custom: {
    50: '#e5e49a',
    500: '#d7d96e',
    950: '#000000',
  },
}
SCSS
$custom: #d7d96e;
$custom-light: #e5e49a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d96e",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 110
  },
  "hsl": {
    "h": 61.121,
    "s": 58.47,
    "l": 64.118
  },
  "oklch": {
    "l": 0.86182,
    "c": 0.1305,
    "h": 109.8
  },
  "luminance": 0.65199
}

Semantic roles & 50–950 ramp

primary
#D7D96E
secondary
#4745A6
accent
#1FC623
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7D96E

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

Preview Lab → · Contrast checker → · Palette generator →

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