#7B795D#7B795D

#7B795D is a mid, muted yellow. Relative luminance 0.187; OKLCH L 57.0% C 0.041 H 104.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7B795D
RGBrgb(123, 121, 93)
HSLhsl(56, 14%, 42%)
HSVhsv(56, 24%, 48%)
CMYKcmyk(0%, 1.6%, 24.4%, 51.8%)
CIE-LABlab(50.31, -4.19, 15.68)
CIE-LCHlch(50.31, 16.23, 104.97°)
OKLaboklab(57.01% -0.0101 0.0398)
OKLCHoklch(57.01% 0.041 104.2)
XYZxyz(16.9815, 18.6763, 13.0641)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B795D #5D5F7B
analogous
#7B6A5D #7B795D #6E7B5D
triadic
#7B795D #5D7B79 #795D7B
tetradic
#7B795D #5D7B6A #5D5F7B #7B5D6E
square
#7B795D #5D7B6A #5D5F7B #7B5D6E
split-complementary
#7B795D #5D6E7B #6A5D7B
monochromatic
#353428 #585743 #7B795D #9B997A #B5B49D

Accessibility & contrast

On white

4.43
#7B795D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7B795D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B795D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B795D#FFFFFF#000000##000000
##7B795D1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E775B
Deuteranopia (green-blind)
#7F785E
Tritanopia (blue-blind)
#807571
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b795d;
/* rgb */ color: rgb(123, 121, 93);
/* oklch */ color: oklch(57.0% 0.041 104.2);
Tailwind
colors: {
  custom: {
    50: '#a19f8b',
    500: '#7b795d',
    950: '#000000',
  },
}
SCSS
$custom: #7b795d;
$custom-light: #a19f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b795d",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 93
  },
  "hsl": {
    "h": 56,
    "s": 13.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.57012,
    "c": 0.04105,
    "h": 104.2
  },
  "luminance": 0.18676
}

Semantic roles & 50–950 ramp

primary
#7B795D
secondary
#9091A4
accent
#76B771
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0F0E0C
muted
#7E7E7D

Preview Lab

Preview with #7B795D

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

Preview Lab → · Contrast checker → · Palette generator →

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