#7B795F#7B795F

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

Color values

HEX#7B795F
RGBrgb(123, 121, 95)
HSLhsl(56, 13%, 43%)
HSVhsv(56, 23%, 48%)
CMYKcmyk(0%, 1.6%, 22.8%, 51.8%)
CIE-LABlab(50.35, -3.88, 14.57)
CIE-LCHlch(50.35, 15.08, 104.91°)
OKLaboklab(57.06% -0.0092 0.0371)
OKLCHoklch(57.06% 0.038 103.9)
XYZxyz(17.0713, 18.7122, 13.5368)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B795F #5F617B
analogous
#7B6B5F #7B795F #6F7B5F
triadic
#7B795F #5F7B79 #795F7B
tetradic
#7B795F #5F7B6B #5F617B #7B5F6F
square
#7B795F #5F7B6B #5F617B #7B5F6F
split-complementary
#7B795F #5F6F7B #6B5F7B
monochromatic
#36352A #585744 #7B795F #9A987D #B5B49F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B795F#FFFFFF#000000##000000
##7B795F1.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)
#7E775D
Deuteranopia (green-blind)
#7F7860
Tritanopia (blue-blind)
#7F7572
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b795f;
/* rgb */ color: rgb(123, 121, 95);
/* oklch */ color: oklch(57.1% 0.038 103.9);
Tailwind
colors: {
  custom: {
    50: '#a19f8c',
    500: '#7b795f',
    950: '#000000',
  },
}
SCSS
$custom: #7b795f;
$custom-light: #a19f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b795f",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 55.714,
    "s": 12.844,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5706,
    "c": 0.03824,
    "h": 103.9
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

primary
#7B795F
secondary
#9293A4
accent
#77B672
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0F0E0C
muted
#7E7E7D

Preview Lab

Preview with #7B795F

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

Preview Lab → · Contrast checker → · Palette generator →

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