#7B795C#7B795C

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

Color values

HEX#7B795C
RGBrgb(123, 121, 92)
HSLhsl(56, 14%, 42%)
HSVhsv(56, 25%, 48%)
CMYKcmyk(0%, 1.6%, 25.2%, 51.8%)
CIE-LABlab(50.29, -4.35, 16.23)
CIE-LCHlch(50.29, 16.80, 104.99°)
OKLaboklab(56.99% -0.0105 0.0411)
OKLCHoklch(56.99% 0.042 104.4)
XYZxyz(16.9375, 18.6587, 12.8324)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B795C #5C5E7B
analogous
#7B6A5C #7B795C #6E7B5C
triadic
#7B795C #5C7B79 #795C7B
tetradic
#7B795C #5C7B6A #5C5E7B #7B5C6E
square
#7B795C #5C7B6A #5C5E7B #7B5C6E
split-complementary
#7B795C #5C6E7B #6A5C7B
monochromatic
#353428 #585742 #7B795C #9B9979 #B5B49C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B795C#FFFFFF#000000##000000
##7B795C1.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)
#7E775A
Deuteranopia (green-blind)
#7F785D
Tritanopia (blue-blind)
#807571
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b795c;
/* rgb */ color: rgb(123, 121, 92);
/* oklch */ color: oklch(57.0% 0.042 104.4);
Tailwind
colors: {
  custom: {
    50: '#a19f8a',
    500: '#7b795c',
    950: '#000000',
  },
}
SCSS
$custom: #7b795c;
$custom-light: #a19f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b795c",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 92
  },
  "hsl": {
    "h": 56.129,
    "s": 14.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56989,
    "c": 0.04245,
    "h": 104.4
  },
  "luminance": 0.18658
}

Semantic roles & 50–950 ramp

primary
#7B795C
secondary
#8F90A4
accent
#75B771
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0F0E0B
muted
#7E7E7C

Preview Lab

Preview with #7B795C

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

Preview Lab → · Contrast checker → · Palette generator →

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