#7D795E#7D795E

#7D795E is a mid, muted yellow. Relative luminance 0.188; OKLCH L 57.2% C 0.040 H 100.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7D795E
RGBrgb(125, 121, 94)
HSLhsl(52, 14%, 43%)
HSVhsv(52, 25%, 49%)
CMYKcmyk(0%, 3.2%, 24.8%, 51%)
CIE-LABlab(50.50, -3.21, 15.40)
CIE-LCHlch(50.50, 15.73, 101.77°)
OKLaboklab(57.22% -0.0073 0.0391)
OKLCHoklch(57.22% 0.04 100.5)
XYZxyz(17.3152, 18.8432, 13.3125)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D795E #5E627D
analogous
#7D695E #7D795E #717D5E
triadic
#7D795E #5E7D79 #795E7D
tetradic
#7D795E #5E7D69 #5E627D #7D5E71
square
#7D795E #5E7D69 #5E627D #7D5E71
split-complementary
#7D795E #5E717D #695E7D
monochromatic
#373529 #5A5744 #7D795E #9C987C #B7B49F

Accessibility & contrast

On white

4.40
#7D795E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7D795E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D795E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D795E#FFFFFF#000000##000000
##7D795E1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E775C
Deuteranopia (green-blind)
#80795F
Tritanopia (blue-blind)
#827572
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d795e;
/* rgb */ color: rgb(125, 121, 94);
/* oklch */ color: oklch(57.2% 0.040 100.5);
Tailwind
colors: {
  custom: {
    50: '#a39f8b',
    500: '#7d795e',
    950: '#000000',
  },
}
SCSS
$custom: #7d795e;
$custom-light: #a39f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d795e",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 94
  },
  "hsl": {
    "h": 52.258,
    "s": 14.155,
    "l": 42.941
  },
  "oklch": {
    "l": 0.57218,
    "c": 0.03979,
    "h": 100.5
  },
  "luminance": 0.18843
}

Semantic roles & 50–950 ramp

primary
#7D795E
secondary
#9294A5
accent
#7AB771
background
#FAF9F8
surface
#F3F2F0
border
#CDCCCB
text
#0F0E0C
muted
#7F7E7D

Preview Lab

Preview with #7D795E

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

Preview Lab → · Contrast checker → · Palette generator →

#7D795E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva