#D7D596#D7D596

#D7D596 is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 86.0% C 0.082 H 106.5°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#D7D596
RGBrgb(215, 213, 150)
HSLhsl(58, 45%, 72%)
HSVhsv(58, 30%, 84%)
CMYKcmyk(0%, 0.9%, 30.2%, 15.7%)
CIE-LABlab(84.09, -8.98, 31.48)
CIE-LCHlch(84.09, 32.73, 105.92°)
OKLaboklab(85.97% -0.0232 0.0785)
OKLCHoklch(85.97% 0.082 106.5)
XYZxyz(57.3239, 64.2386, 38.2278)
Luminance0.6424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D596 #9698D7
analogous
#D7B596 #D7D596 #B9D796
triadic
#D7D596 #96D7D5 #D596D7
tetradic
#D7D596 #96D7B5 #9698D7 #D796B9
square
#D7D596 #96D7B5 #9698D7 #D796B9
split-complementary
#D7D596 #96B9D7 #B596D7
monochromatic
#B0AC43 #C6C36A #D7D596 #E8E7C2 #F7F6E9

Accessibility & contrast

On white

1.52
#D7D596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.85
#D7D596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D596
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D596#FFFFFF#000000##000000
##D7D5961.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD092
Deuteranopia (green-blind)
#E1D398
Tritanopia (blue-blind)
#E0CDC5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d596;
/* rgb */ color: rgb(215, 213, 150);
/* oklch */ color: oklch(86.0% 0.082 106.5);
Tailwind
colors: {
  custom: {
    50: '#e4e1b5',
    500: '#d7d596',
    950: '#000000',
  },
}
SCSS
$custom: #d7d596;
$custom-light: #e4e1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d596",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 150
  },
  "hsl": {
    "h": 58.154,
    "s": 44.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.85968,
    "c": 0.08188,
    "h": 106.5
  },
  "luminance": 0.64238
}

Semantic roles & 50–950 ramp

primary
#D7D596
secondary
#6366AE
accent
#32B82E
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D7D596

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

Preview Lab → · Contrast checker → · Palette generator →

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