#D7CD99#D7CD99

#D7CD99 is a very light, moderate yellow. Relative luminance 0.604; OKLCH L 84.4% C 0.069 H 98.5°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#D7CD99
RGBrgb(215, 205, 153)
HSLhsl(50, 44%, 72%)
HSVhsv(50, 29%, 84%)
CMYKcmyk(0%, 4.7%, 28.8%, 15.7%)
CIE-LABlab(82.06, -4.50, 27.20)
CIE-LCHlch(82.06, 27.57, 99.39°)
OKLaboklab(84.38% -0.0102 0.0684)
OKLCHoklch(84.38% 0.069 98.5)
XYZxyz(55.6058, 60.4109, 38.8621)
Luminance0.6041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD99 #99A3D7
analogous
#D7AE99 #D7CD99 #C2D799
triadic
#D7CD99 #99D7CD #CD99D7
tetradic
#D7CD99 #99D7AE #99A3D7 #D799C2
square
#D7CD99 #99D7AE #99A3D7 #D799C2
split-complementary
#D7CD99 #99C2D7 #AE99D7
monochromatic
#B09F45 #C6B76D #D7CD99 #E8E3C5 #F6F4E9

Accessibility & contrast

On white

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

On black

13.08
#D7CD99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD99
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD99#FFFFFF#000000##000000
##D7CD991.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7CA96
Deuteranopia (green-blind)
#DACE9B
Tritanopia (blue-blind)
#E1C6BF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7cd99;
/* rgb */ color: rgb(215, 205, 153);
/* oklch */ color: oklch(84.4% 0.069 98.5);
Tailwind
colors: {
  custom: {
    50: '#e4dcb7',
    500: '#d7cd99',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd99;
$custom-light: #e4dcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd99",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 153
  },
  "hsl": {
    "h": 50.323,
    "s": 43.662,
    "l": 72.157
  },
  "oklch": {
    "l": 0.84379,
    "c": 0.06918,
    "h": 98.5
  },
  "luminance": 0.6041
}

Semantic roles & 50–950 ramp

primary
#D7CD99
secondary
#6672AE
accent
#45B72F
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D7CD99

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

Preview Lab → · Contrast checker → · Palette generator →

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