#D7D96B#D7D96B

#D7D96B is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.1% C 0.133 H 109.8°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#D7D96B
RGBrgb(215, 217, 107)
HSLhsl(61, 59%, 64%)
HSVhsv(61, 51%, 85%)
CMYKcmyk(0.9%, 0%, 50.7%, 14.9%)
CIE-LABlab(84.55, -15.52, 53.30)
CIE-LCHlch(84.55, 55.52, 106.24°)
OKLaboklab(86.15% -0.0453 0.1255)
OKLCHoklch(86.15% 0.133 109.8)
XYZxyz(55.4923, 65.1356, 23.5563)
Luminance0.6513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D96B #6D6BD9
analogous
#D9A46B #D7D96B #A0D96B
triadic
#D7D96B #6BD7D9 #D96BD7
tetradic
#D7D96B #6BD9A4 #6D6BD9 #D96BA0
square
#D7D96B #6BD9A4 #6D6BD9 #D96BA0
split-complementary
#D7D96B #6BA0D9 #A46BD9
monochromatic
#9EA029 #CACC3A #D7D96B #E4E69C #F1F2CC

Accessibility & contrast

On white

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

On black

14.03
#D7D96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D96B
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D96B#FFFFFF#000000##000000
##D7D96B1.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d96b;
/* rgb */ color: rgb(215, 217, 107);
/* oklch */ color: oklch(86.1% 0.133 109.8);
Tailwind
colors: {
  custom: {
    50: '#e5e498',
    500: '#d7d96b',
    950: '#000000',
  },
}
SCSS
$custom: #d7d96b;
$custom-light: #e5e498;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d96b",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 107
  },
  "hsl": {
    "h": 61.091,
    "s": 59.14,
    "l": 63.529
  },
  "oklch": {
    "l": 0.86145,
    "c": 0.13339,
    "h": 109.8
  },
  "luminance": 0.65134
}

Semantic roles & 50–950 ramp

primary
#D7D96B
secondary
#4644A4
accent
#1FC722
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7D96B

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

Preview Lab → · Contrast checker → · Palette generator →

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