#D7CC75#D7CC75

#D7CC75 is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.6% C 0.109 H 102.1°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#D7CC75
RGBrgb(215, 204, 117)
HSLhsl(53, 55%, 65%)
HSVhsv(53, 46%, 84%)
CMYKcmyk(0%, 5.1%, 45.6%, 15.7%)
CIE-LABlab(81.25, -8.07, 44.52)
CIE-LCHlch(81.25, 45.25, 100.27°)
OKLaboklab(83.55% -0.0229 0.107)
OKLCHoklch(83.55% 0.109 102.1)
XYZxyz(52.8294, 58.9188, 25.4158)
Luminance0.5892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC75 #7580D7
analogous
#D79B75 #D7CC75 #B1D775
triadic
#D7CC75 #75D7CC #CC75D7
tetradic
#D7CC75 #75D79B #7580D7 #D775B1
square
#D7CC75 #75D79B #7580D7 #D775B1
split-complementary
#D7CC75 #75B1D7 #9B75D7
monochromatic
#A2962F #C9BA46 #D7CC75 #E5DEA4 #F3EFD4

Accessibility & contrast

On white

1.64
#D7CC75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#D7CC75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CC75
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CC75#FFFFFF#000000##000000
##D7CC751.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC76E
Deuteranopia (green-blind)
#DECC79
Tritanopia (blue-blind)
#E4C1B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cc75;
/* rgb */ color: rgb(215, 204, 117);
/* oklch */ color: oklch(83.6% 0.109 102.1);
Tailwind
colors: {
  custom: {
    50: '#e5db9e',
    500: '#d7cc75',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc75;
$custom-light: #e5db9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc75",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 117
  },
  "hsl": {
    "h": 53.265,
    "s": 55.056,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83554,
    "c": 0.1094,
    "h": 102.1
  },
  "luminance": 0.58917
}

Semantic roles & 50–950 ramp

primary
#D7CC75
secondary
#4A54A6
accent
#35C323
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7CC75

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

Preview Lab → · Contrast checker → · Palette generator →

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