#7A795E#7A795E

#7A795E is a mid, muted yellow. Relative luminance 0.186; OKLCH L 56.9% C 0.040 H 105.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7A795E
RGBrgb(122, 121, 94)
HSLhsl(58, 13%, 42%)
HSVhsv(58, 23%, 48%)
CMYKcmyk(0%, 0.8%, 23%, 52.2%)
CIE-LABlab(50.24, -4.45, 14.99)
CIE-LCHlch(50.24, 15.64, 106.53°)
OKLaboklab(56.95% -0.0108 0.0381)
OKLCHoklch(56.95% 0.04 105.8)
XYZxyz(16.8837, 18.6207, 13.2922)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A795E #5E5F7A
analogous
#7A6B5E #7A795E #6D7A5E
triadic
#7A795E #5E7A79 #795E7A
tetradic
#7A795E #5E7A6B #5E5F7A #7A5E6D
square
#7A795E #5E7A6B #5E5F7A #7A5E6D
split-complementary
#7A795E #5E6D7A #6B5E7A
monochromatic
#353429 #575743 #7A795E #9A997C #B4B49E

Accessibility & contrast

On white

4.45
#7A795E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7A795E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A795E
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A795E#FFFFFF#000000##000000
##7A795E1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E775C
Deuteranopia (green-blind)
#7F785F
Tritanopia (blue-blind)
#7E7572
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a795e;
/* rgb */ color: rgb(122, 121, 94);
/* oklch */ color: oklch(56.9% 0.040 105.8);
Tailwind
colors: {
  custom: {
    50: '#a09f8b',
    500: '#7a795e',
    950: '#000000',
  },
}
SCSS
$custom: #7a795e;
$custom-light: #a09f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a795e",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 94
  },
  "hsl": {
    "h": 57.857,
    "s": 12.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.56946,
    "c": 0.03964,
    "h": 105.8
  },
  "luminance": 0.1862
}

Semantic roles & 50–950 ramp

primary
#7A795E
secondary
#9191A3
accent
#74B672
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0F0E0C
muted
#7E7E7D

Preview Lab

Preview with #7A795E

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

Preview Lab → · Contrast checker → · Palette generator →

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