#7D795B#7D795B

#7D795B is a mid, muted yellow. Relative luminance 0.188; OKLCH L 57.1% C 0.044 H 101.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7D795B
RGBrgb(125, 121, 91)
HSLhsl(53, 16%, 42%)
HSVhsv(53, 27%, 49%)
CMYKcmyk(0%, 3.2%, 27.2%, 51%)
CIE-LABlab(50.44, -3.66, 17.05)
CIE-LCHlch(50.44, 17.44, 102.13°)
OKLaboklab(57.15% -0.0086 0.0431)
OKLCHoklch(57.15% 0.044 101.3)
XYZxyz(17.1832, 18.7904, 12.6172)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D795B #5B5F7D
analogous
#7D685B #7D795B #707D5B
triadic
#7D795B #5B7D79 #795B7D
tetradic
#7D795B #5B7D68 #5B5F7D #7D5B70
square
#7D795B #5B7D68 #5B5F7D #7D5B70
split-complementary
#7D795B #5B707D #685B7D
monochromatic
#363427 #5A5741 #7D795B #9D9978 #B7B49C

Accessibility & contrast

On white

4.41
#7D795B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7D795B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D795B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D795B#FFFFFF#000000##000000
##7D795B1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7759
Deuteranopia (green-blind)
#80795C
Tritanopia (blue-blind)
#827571
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d795b;
/* rgb */ color: rgb(125, 121, 91);
/* oklch */ color: oklch(57.1% 0.044 101.3);
Tailwind
colors: {
  custom: {
    50: '#a39f89',
    500: '#7d795b',
    950: '#000000',
  },
}
SCSS
$custom: #7d795b;
$custom-light: #a39f89;
$custom-dark: #000000;
JSON
{
  "hex": "#7d795b",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 91
  },
  "hsl": {
    "h": 52.941,
    "s": 15.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.57148,
    "c": 0.04393,
    "h": 101.3
  },
  "luminance": 0.1879
}

Semantic roles & 50–950 ramp

primary
#7D795B
secondary
#8F91A5
accent
#78B86F
background
#FAF9F8
surface
#F3F2F0
border
#CDCCCB
text
#0F0E0B
muted
#7F7E7C

Preview Lab

Preview with #7D795B

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

Preview Lab → · Contrast checker → · Palette generator →

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