#D7CD97#D7CD97

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

Color values

HEX#D7CD97
RGBrgb(215, 205, 151)
HSLhsl(51, 44%, 72%)
HSVhsv(51, 30%, 84%)
CMYKcmyk(0%, 4.7%, 29.8%, 15.7%)
CIE-LABlab(82.03, -4.75, 28.20)
CIE-LCHlch(82.03, 28.60, 99.57°)
OKLaboklab(84.34% -0.011 0.0708)
OKLCHoklch(84.34% 0.072 98.9)
XYZxyz(55.4420, 60.3453, 37.9994)
Luminance0.6034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD97 #97A1D7
analogous
#D7AD97 #D7CD97 #C1D797
triadic
#D7CD97 #97D7CD #CD97D7
tetradic
#D7CD97 #97D7AD #97A1D7 #D797C1
square
#D7CD97 #97D7AD #97A1D7 #D797C1
split-complementary
#D7CD97 #97C1D7 #AD97D7
monochromatic
#B09F44 #C6B86B #D7CD97 #E8E2C3 #F6F4E9

Accessibility & contrast

On white

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

On black

13.07
#D7CD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD97
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD97#FFFFFF#000000##000000
##D7CD971.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7cd97;
/* rgb */ color: rgb(215, 205, 151);
/* oklch */ color: oklch(84.3% 0.072 98.9);
Tailwind
colors: {
  custom: {
    50: '#e4dcb6',
    500: '#d7cd97',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd97;
$custom-light: #e4dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd97",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 50.625,
    "s": 44.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.8434,
    "c": 0.07162,
    "h": 98.9
  },
  "luminance": 0.60344
}

Semantic roles & 50–950 ramp

primary
#D7CD97
secondary
#6470AE
accent
#43B82E
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D7CD97

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

Preview Lab → · Contrast checker → · Palette generator →

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