#7B792B#7B792B

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

Color values

HEX#7B792B
RGBrgb(123, 121, 43)
HSLhsl(59, 48%, 33%)
HSVhsv(59, 65%, 48%)
CMYKcmyk(0%, 1.6%, 65%, 51.8%)
CIE-LABlab(49.57, -9.80, 41.63)
CIE-LCHlch(49.57, 42.77, 103.24°)
OKLaboklab(56.19% -0.0304 0.0946)
OKLCHoklch(56.19% 0.099 107.8)
XYZxyz(15.4423, 18.0606, 4.9576)
Luminance0.1806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B792B #2B2D7B
analogous
#7B512B #7B792B #557B2B
triadic
#7B792B #2B7B79 #792B7B
tetradic
#7B792B #2B7B51 #2B2D7B #7B2B55
square
#7B792B #2B7B51 #2B2D7B #7B2B55
split-complementary
#7B792B #2B557B #512B7B
monochromatic
#20200B #4E4C1B #7B792B #A8A63B #C6C35B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B792B#FFFFFF#000000##000000
##7B792B1.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)
#837421
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#847169
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b792b;
/* rgb */ color: rgb(123, 121, 43);
/* oklch */ color: oklch(56.2% 0.099 107.8);
Tailwind
colors: {
  custom: {
    50: '#a49f68',
    500: '#7b792b',
    950: '#000000',
  },
}
SCSS
$custom: #7b792b;
$custom-light: #a49f68;
$custom-dark: #000000;
JSON
{
  "hex": "#7b792b",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 58.5,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56188,
    "c": 0.09939,
    "h": 107.8
  },
  "luminance": 0.1806
}

Semantic roles & 50–950 ramp

primary
#7B792B
secondary
#5658AB
accent
#53D850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7B792B

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

Preview Lab → · Contrast checker → · Palette generator →

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