#D7C975#D7C975

#D7C975 is a very light, moderate yellow. Relative luminance 0.575; OKLCH L 82.9% C 0.106 H 100.0°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#D7C975
RGBrgb(215, 201, 117)
HSLhsl(51, 55%, 65%)
HSVhsv(51, 46%, 84%)
CMYKcmyk(0%, 6.5%, 45.6%, 15.7%)
CIE-LABlab(80.46, -6.53, 43.55)
CIE-LCHlch(80.46, 44.04, 98.53°)
OKLaboklab(82.93% -0.0185 0.1048)
OKLCHoklch(82.93% 0.106 100)
XYZxyz(52.1232, 57.5064, 25.1804)
Luminance0.5750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C975 #7583D7
analogous
#D79875 #D7C975 #B4D775
triadic
#D7C975 #75D7C9 #C975D7
tetradic
#D7C975 #75D798 #7583D7 #D775B4
square
#D7C975 #75D798 #7583D7 #D775B4
split-complementary
#D7C975 #75B4D7 #9875D7
monochromatic
#A2922F #C9B646 #D7C975 #E5DCA4 #F3EED4

Accessibility & contrast

On white

1.68
#D7C975 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#D7C975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C975
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C975#FFFFFF#000000##000000
##D7C9751.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46E
Deuteranopia (green-blind)
#DBCA78
Tritanopia (blue-blind)
#E4BEB5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7c975;
/* rgb */ color: rgb(215, 201, 117);
/* oklch */ color: oklch(82.9% 0.106 100.0);
Tailwind
colors: {
  custom: {
    50: '#e5d99e',
    500: '#d7c975',
    950: '#000000',
  },
}
SCSS
$custom: #d7c975;
$custom-light: #e5d99e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c975",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 117
  },
  "hsl": {
    "h": 51.429,
    "s": 55.056,
    "l": 65.098
  },
  "oklch": {
    "l": 0.82933,
    "c": 0.10643,
    "h": 100
  },
  "luminance": 0.57505
}

Semantic roles & 50–950 ramp

primary
#D7C975
secondary
#4A57A6
accent
#3AC323
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D7C975

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

Preview Lab → · Contrast checker → · Palette generator →

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