#D7CC82#D7CC82

#D7CC82 is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.8% C 0.095 H 100.9°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#D7CC82
RGBrgb(215, 204, 130)
HSLhsl(52, 52%, 68%)
HSVhsv(52, 40%, 84%)
CMYKcmyk(0%, 5.1%, 39.5%, 15.7%)
CIE-LABlab(81.43, -6.73, 38.23)
CIE-LCHlch(81.43, 38.82, 99.98°)
OKLaboklab(83.76% -0.0179 0.0935)
OKLCHoklch(83.76% 0.095 100.9)
XYZxyz(53.6475, 59.2460, 29.7244)
Luminance0.5925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC82 #828DD7
analogous
#D7A182 #D7CC82 #B8D782
triadic
#D7CC82 #82D7CC #CC82D7
tetradic
#D7CC82 #82D7A1 #828DD7 #D782B8
square
#D7CC82 #82D7A1 #828DD7 #D782B8
split-complementary
#D7CC82 #82B8D7 #A182D7
monochromatic
#A99A36 #C8B954 #D7CC82 #E6DFB0 #F5F2DF

Accessibility & contrast

On white

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

On black

12.85
#D7CC82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CC82
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CC82#FFFFFF#000000##000000
##D7CC821.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C87C
Deuteranopia (green-blind)
#DCCC85
Tritanopia (blue-blind)
#E3C2BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cc82;
/* rgb */ color: rgb(215, 204, 130);
/* oklch */ color: oklch(83.8% 0.095 100.9);
Tailwind
colors: {
  custom: {
    50: '#e4dba7',
    500: '#d7cc82',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc82;
$custom-light: #e4dba7;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc82",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 130
  },
  "hsl": {
    "h": 52.235,
    "s": 51.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83755,
    "c": 0.09522,
    "h": 100.9
  },
  "luminance": 0.59245
}

Semantic roles & 50–950 ramp

primary
#D7CC82
secondary
#515DAC
accent
#3ABF27
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D7CC82

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

Preview Lab → · Contrast checker → · Palette generator →

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