#7A795F#7A795F

#7A795F is a mid, muted yellow. Relative luminance 0.186; OKLCH L 57.0% C 0.038 H 105.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7A795F
RGBrgb(122, 121, 95)
HSLhsl(58, 12%, 43%)
HSVhsv(58, 22%, 48%)
CMYKcmyk(0%, 0.8%, 22.1%, 52.2%)
CIE-LABlab(50.26, -4.29, 14.44)
CIE-LCHlch(50.26, 15.07, 106.55°)
OKLaboklab(56.97% -0.0104 0.0368)
OKLCHoklch(56.97% 0.038 105.7)
XYZxyz(16.9289, 18.6388, 13.5301)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A795F #5F607A
analogous
#7A6C5F #7A795F #6D7A5F
triadic
#7A795F #5F7A79 #795F7A
tetradic
#7A795F #5F7A6C #5F607A #7A5F6D
square
#7A795F #5F7A6C #5F607A #7A5F6D
split-complementary
#7A795F #5F6D7A #6C5F7A
monochromatic
#353529 #585744 #7A795F #9A987D #B4B49F

Accessibility & contrast

On white

4.44
#7A795F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7A795F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A795F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A795F#FFFFFF#000000##000000
##7A795F1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E775D
Deuteranopia (green-blind)
#7E7860
Tritanopia (blue-blind)
#7E7672
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a795f;
/* rgb */ color: rgb(122, 121, 95);
/* oklch */ color: oklch(57.0% 0.038 105.7);
Tailwind
colors: {
  custom: {
    50: '#a09f8c',
    500: '#7a795f',
    950: '#000000',
  },
}
SCSS
$custom: #7a795f;
$custom-light: #a09f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a795f",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 57.778,
    "s": 12.442,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5697,
    "c": 0.03823,
    "h": 105.7
  },
  "luminance": 0.18639
}

Semantic roles & 50–950 ramp

primary
#7A795F
secondary
#9292A3
accent
#75B572
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0F0E0C
muted
#7E7E7D

Preview Lab

Preview with #7A795F

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

Preview Lab → · Contrast checker → · Palette generator →

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