#7B794D#7B794D

#7B794D is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.7% C 0.063 H 106.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7B794D
RGBrgb(123, 121, 77)
HSLhsl(57, 23%, 39%)
HSVhsv(57, 37%, 48%)
CMYKcmyk(0%, 1.6%, 37.4%, 51.8%)
CIE-LABlab(50.00, -6.45, 24.43)
CIE-LCHlch(50.00, 25.27, 104.79°)
OKLaboklab(56.67% -0.0172 0.0601)
OKLCHoklch(56.67% 0.063 106)
XYZxyz(16.3455, 18.4219, 9.7145)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B794D #4D4F7B
analogous
#7B624D #7B794D #667B4D
triadic
#7B794D #4D7B79 #794D7B
tetradic
#7B794D #4D7B62 #4D4F7B #7B4D66
square
#7B794D #4D7B62 #4D4F7B #7B4D66
split-complementary
#7B794D #4D667B #624D7B
monochromatic
#302F1E #555435 #7B794D #9F9D66 #B7B58C

Accessibility & contrast

On white

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

On black

4.68
#7B794D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B794D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B794D#FFFFFF#000000##000000
##7B794D1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80764A
Deuteranopia (green-blind)
#81784F
Tritanopia (blue-blind)
#81746E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b794d;
/* rgb */ color: rgb(123, 121, 77);
/* oklch */ color: oklch(56.7% 0.063 106.0);
Tailwind
colors: {
  custom: {
    50: '#a29f7f',
    500: '#7b794d',
    950: '#000000',
  },
}
SCSS
$custom: #7b794d;
$custom-light: #a29f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b794d",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 77
  },
  "hsl": {
    "h": 57.391,
    "s": 23,
    "l": 39.216
  },
  "oklch": {
    "l": 0.56674,
    "c": 0.06254,
    "h": 106
  },
  "luminance": 0.18422
}

Semantic roles & 50–950 ramp

primary
#7B794D
secondary
#8082A3
accent
#6CBF68
background
#FAF9F7
surface
#F3F2EE
border
#CDCCC9
text
#0F0E0A
muted
#7F7E7C

Preview Lab

Preview with #7B794D

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

Preview Lab → · Contrast checker → · Palette generator →

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