#7B792A#7B792A

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

Color values

HEX#7B792A
RGBrgb(123, 121, 42)
HSLhsl(59, 49%, 32%)
HSVhsv(59, 66%, 48%)
CMYKcmyk(0%, 1.6%, 65.9%, 51.8%)
CIE-LABlab(49.56, -9.86, 42.08)
CIE-LCHlch(49.56, 43.22, 103.19°)
OKLaboklab(56.18% -0.0307 0.0954)
OKLCHoklch(56.18% 0.1 107.8)
XYZxyz(15.4242, 18.0533, 4.8622)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B792A #2A2C7B
analogous
#7B512A #7B792A #547B2A
triadic
#7B792A #2A7B79 #792A7B
tetradic
#7B792A #2A7B51 #2A2C7B #7B2A54
square
#7B792A #2A7B51 #2A2C7B #7B2A54
split-complementary
#7B792A #2A547B #512A7B
monochromatic
#201F0B #4D4C1A #7B792A #A9A63A #C6C459

Accessibility & contrast

On white

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

On black

4.61
#7B792A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B792A
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B792A#FFFFFF#000000##000000
##7B792A1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#837420
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#847169
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b792a;
/* rgb */ color: rgb(123, 121, 42);
/* oklch */ color: oklch(56.2% 0.100 107.8);
Tailwind
colors: {
  custom: {
    50: '#a49f68',
    500: '#7b792a',
    950: '#000000',
  },
}
SCSS
$custom: #7b792a;
$custom-light: #a49f68;
$custom-dark: #000000;
JSON
{
  "hex": "#7b792a",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 58.519,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56178,
    "c": 0.10023,
    "h": 107.8
  },
  "luminance": 0.18053
}

Semantic roles & 50–950 ramp

primary
#7B792A
secondary
#5557AC
accent
#53D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7B792A

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

Preview Lab → · Contrast checker → · Palette generator →

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