#7B792E#7B792E

#7B792E is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.097 H 107.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7B792E
RGBrgb(123, 121, 46)
HSLhsl(58, 46%, 33%)
HSVhsv(58, 63%, 48%)
CMYKcmyk(0%, 1.6%, 62.6%, 51.8%)
CIE-LABlab(49.60, -9.58, 40.27)
CIE-LCHlch(49.60, 41.39, 103.38°)
OKLaboklab(56.22% -0.0294 0.0922)
OKLCHoklch(56.22% 0.097 107.7)
XYZxyz(15.4994, 18.0834, 5.2582)
Luminance0.1808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B792E #2E307B
analogous
#7B522E #7B792E #567B2E
triadic
#7B792E #2E7B79 #792E7B
tetradic
#7B792E #2E7B52 #2E307B #7B2E56
square
#7B792E #2E7B52 #2E307B #7B2E56
split-complementary
#7B792E #2E567B #522E7B
monochromatic
#22210D #4E4D1D #7B792E #A8A53F #C3C160

Accessibility & contrast

On white

4.55
#7B792E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7B792E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B792E
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B792E#FFFFFF#000000##000000
##7B792E1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#837425
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#847169
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b792e;
/* rgb */ color: rgb(123, 121, 46);
/* oklch */ color: oklch(56.2% 0.097 107.7);
Tailwind
colors: {
  custom: {
    50: '#a39f6a',
    500: '#7b792e',
    950: '#000000',
  },
}
SCSS
$custom: #7b792e;
$custom-light: #a39f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b792e",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 58.442,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56219,
    "c": 0.09678,
    "h": 107.7
  },
  "luminance": 0.18083
}

Semantic roles & 50–950 ramp

primary
#7B792E
secondary
#5B5DAA
accent
#56D553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7B792E

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

Preview Lab → · Contrast checker → · Palette generator →

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