#7B794F#7B794F

#7B794F is a mid, muted yellow. Relative luminance 0.184; OKLCH L 56.7% C 0.060 H 105.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7B794F
RGBrgb(123, 121, 79)
HSLhsl(57, 22%, 40%)
HSVhsv(57, 36%, 48%)
CMYKcmyk(0%, 1.6%, 35.8%, 51.8%)
CIE-LABlab(50.04, -6.19, 23.35)
CIE-LCHlch(50.04, 24.15, 104.85°)
OKLaboklab(56.71% -0.0164 0.0577)
OKLCHoklch(56.71% 0.06 105.8)
XYZxyz(16.4172, 18.4505, 10.0921)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B794F #4F517B
analogous
#7B634F #7B794F #677B4F
triadic
#7B794F #4F7B79 #794F7B
tetradic
#7B794F #4F7B63 #4F517B #7B4F67
square
#7B794F #4F7B63 #4F517B #7B4F67
split-complementary
#7B794F #4F677B #634F7B
monochromatic
#30301F #565437 #7B794F #9E9C69 #B6B58E

Accessibility & contrast

On white

4.48
#7B794F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7B794F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B794F
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B794F#FFFFFF#000000##000000
##7B794F1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80764C
Deuteranopia (green-blind)
#817851
Tritanopia (blue-blind)
#81746E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b794f;
/* rgb */ color: rgb(123, 121, 79);
/* oklch */ color: oklch(56.7% 0.060 105.8);
Tailwind
colors: {
  custom: {
    50: '#a29f81',
    500: '#7b794f',
    950: '#000000',
  },
}
SCSS
$custom: #7b794f;
$custom-light: #a29f81;
$custom-dark: #000000;
JSON
{
  "hex": "#7b794f",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 79
  },
  "hsl": {
    "h": 57.273,
    "s": 21.782,
    "l": 39.608
  },
  "oklch": {
    "l": 0.56712,
    "c": 0.05996,
    "h": 105.8
  },
  "luminance": 0.1845
}

Semantic roles & 50–950 ramp

primary
#7B794F
secondary
#8284A3
accent
#6DBE69
background
#FAF9F7
surface
#F3F2EE
border
#CDCCC9
text
#0F0E0A
muted
#7F7E7C

Preview Lab

Preview with #7B794F

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

Preview Lab → · Contrast checker → · Palette generator →

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