#D7D896#D7D896

#D7D896 is a very light, moderate yellow. Relative luminance 0.658; OKLCH L 86.6% C 0.086 H 108.8°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#D7D896
RGBrgb(215, 216, 150)
HSLhsl(61, 46%, 72%)
HSVhsv(61, 31%, 85%)
CMYKcmyk(0.5%, 0%, 30.6%, 15.3%)
CIE-LABlab(84.87, -10.50, 32.52)
CIE-LCHlch(84.87, 34.17, 107.89°)
OKLaboklab(86.59% -0.0275 0.081)
OKLCHoklch(86.59% 0.086 108.8)
XYZxyz(58.0855, 65.7617, 38.4816)
Luminance0.6576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D896 #9796D8
analogous
#D8B896 #D7D896 #B6D896
triadic
#D7D896 #96D7D8 #D896D7
tetradic
#D7D896 #96D8B8 #9796D8 #D896B6
square
#D7D896 #96D8B8 #9796D8 #D896B6
split-complementary
#D7D896 #96B6D8 #B896D8
monochromatic
#B0B242 #C6C769 #D7D896 #E8E9C3 #F6F7E9

Accessibility & contrast

On white

1.48
#D7D896 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#D7D896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D896
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D896#FFFFFF#000000##000000
##D7D8961.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D391
Deuteranopia (green-blind)
#E3D599
Tritanopia (blue-blind)
#E0D0C7
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d7d896;
/* rgb */ color: rgb(215, 216, 150);
/* oklch */ color: oklch(86.6% 0.086 108.8);
Tailwind
colors: {
  custom: {
    50: '#e4e4b5',
    500: '#d7d896',
    950: '#000000',
  },
}
SCSS
$custom: #d7d896;
$custom-light: #e4e4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d896",
  "rgb": {
    "r": 215,
    "g": 216,
    "b": 150
  },
  "hsl": {
    "h": 60.909,
    "s": 45.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.86591,
    "c": 0.08553,
    "h": 108.8
  },
  "luminance": 0.65761
}

Semantic roles & 50–950 ramp

primary
#D7D896
secondary
#6463AF
accent
#2CB92F
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #D7D896

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

Preview Lab → · Contrast checker → · Palette generator →

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