#D7CC8A#D7CC8A

#D7CC8A is a very light, moderate yellow. Relative luminance 0.595; OKLCH L 83.9% C 0.086 H 99.9°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#D7CC8A
RGBrgb(215, 204, 138)
HSLhsl(51, 49%, 69%)
HSVhsv(51, 36%, 84%)
CMYKcmyk(0%, 5.1%, 35.8%, 15.7%)
CIE-LABlab(81.55, -5.83, 34.30)
CIE-LCHlch(81.55, 34.80, 99.64°)
OKLaboklab(83.89% -0.0148 0.0848)
OKLCHoklch(83.89% 0.086 99.9)
XYZxyz(54.2054, 59.4692, 32.6631)
Luminance0.5947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC8A #8A95D7
analogous
#D7A68A #D7CC8A #BCD78A
triadic
#D7CC8A #8AD7CC #CC8AD7
tetradic
#D7CC8A #8AD7A6 #8A95D7 #D78ABC
square
#D7CC8A #8AD7A6 #8A95D7 #D78ABC
split-complementary
#D7CC8A #8ABCD7 #A68AD7
monochromatic
#AC9C3B #C7B85C #D7CC8A #E7E0B8 #F6F4E5

Accessibility & contrast

On white

1.63
#D7CC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#D7CC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CC8A
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CC8A#FFFFFF#000000##000000
##D7CC8A1.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C885
Deuteranopia (green-blind)
#DBCD8C
Tritanopia (blue-blind)
#E2C3BB
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cc8a;
/* rgb */ color: rgb(215, 204, 138);
/* oklch */ color: oklch(83.9% 0.086 99.9);
Tailwind
colors: {
  custom: {
    50: '#e4dbad',
    500: '#d7cc8a',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc8a;
$custom-light: #e4dbad;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc8a",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 138
  },
  "hsl": {
    "h": 51.429,
    "s": 49.045,
    "l": 69.216
  },
  "oklch": {
    "l": 0.83892,
    "c": 0.08605,
    "h": 99.9
  },
  "luminance": 0.59468
}

Semantic roles & 50–950 ramp

primary
#D7CC8A
secondary
#5864AD
accent
#3EBC29
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161510
muted
#848481

Preview Lab

Preview with #D7CC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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