#D7CD96#D7CD96

#D7CD96 is a very light, moderate yellow. Relative luminance 0.603; OKLCH L 84.3% C 0.073 H 99.0°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#D7CD96
RGBrgb(215, 205, 150)
HSLhsl(51, 45%, 72%)
HSVhsv(51, 30%, 84%)
CMYKcmyk(0%, 4.7%, 30.2%, 15.7%)
CIE-LABlab(82.01, -4.88, 28.70)
CIE-LCHlch(82.01, 29.11, 99.66°)
OKLaboklab(84.32% -0.0114 0.0719)
OKLCHoklch(84.32% 0.073 99)
XYZxyz(55.3611, 60.3130, 37.5735)
Luminance0.6031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD96 #96A0D7
analogous
#D7AD96 #D7CD96 #C1D796
triadic
#D7CD96 #96D7CD #CD96D7
tetradic
#D7CD96 #96D7AD #96A0D7 #D796C1
square
#D7CD96 #96D7AD #96A0D7 #D796C1
split-complementary
#D7CD96 #96C1D7 #AD96D7
monochromatic
#B09F43 #C6B86A #D7CD96 #E8E2C2 #F7F4E9

Accessibility & contrast

On white

1.61
#D7CD96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#D7CD96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD96
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD96#FFFFFF#000000##000000
##D7CD961.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA92
Deuteranopia (green-blind)
#DBCE98
Tritanopia (blue-blind)
#E1C5BF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7cd96;
/* rgb */ color: rgb(215, 205, 150);
/* oklch */ color: oklch(84.3% 0.073 99.0);
Tailwind
colors: {
  custom: {
    50: '#e4dcb5',
    500: '#d7cd96',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd96;
$custom-light: #e4dcb5;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd96",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 150
  },
  "hsl": {
    "h": 50.769,
    "s": 44.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.8432,
    "c": 0.07284,
    "h": 99
  },
  "luminance": 0.60312
}

Semantic roles & 50–950 ramp

primary
#D7CD96
secondary
#636FAE
accent
#43B82E
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D7CD96

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

Preview Lab → · Contrast checker → · Palette generator →

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