#7D795F#7D795F

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

Color values

HEX#7D795F
RGBrgb(125, 121, 95)
HSLhsl(52, 14%, 43%)
HSVhsv(52, 24%, 49%)
CMYKcmyk(0%, 3.2%, 24%, 51%)
CIE-LABlab(50.52, -3.05, 14.84)
CIE-LCHlch(50.52, 15.16, 101.62°)
OKLaboklab(57.24% -0.0068 0.0378)
OKLCHoklch(57.24% 0.038 100.2)
XYZxyz(17.3604, 18.8612, 13.5503)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D795F #5F637D
analogous
#7D6A5F #7D795F #727D5F
triadic
#7D795F #5F7D79 #795F7D
tetradic
#7D795F #5F7D6A #5F637D #7D5F72
square
#7D795F #5F7D6A #5F637D #7D5F72
split-complementary
#7D795F #5F727D #6A5F7D
monochromatic
#37362A #5A5745 #7D795F #9C987D #B7B4A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D795F#FFFFFF#000000##000000
##7D795F1.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)
#7E775D
Deuteranopia (green-blind)
#7F7960
Tritanopia (blue-blind)
#827572
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d795f;
/* rgb */ color: rgb(125, 121, 95);
/* oklch */ color: oklch(57.2% 0.038 100.2);
Tailwind
colors: {
  custom: {
    50: '#a39f8c',
    500: '#7d795f',
    950: '#000000',
  },
}
SCSS
$custom: #7d795f;
$custom-light: #a39f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d795f",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 52,
    "s": 13.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.57242,
    "c": 0.03839,
    "h": 100.2
  },
  "luminance": 0.18861
}

Semantic roles & 50–950 ramp

primary
#7D795F
secondary
#9295A5
accent
#7BB671
background
#FAF9F8
surface
#F3F2F0
border
#CDCCCB
text
#0F0E0C
muted
#7F7E7D

Preview Lab

Preview with #7D795F

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

Preview Lab → · Contrast checker → · Palette generator →

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