#7B8A32#7B8A32

#7B8A32 is a mid, moderate yellow-green. Relative luminance 0.226; OKLCH L 60.3% C 0.114 H 118.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7B8A32
RGBrgb(123, 138, 50)
HSLhsl(70, 47%, 37%)
HSVhsv(70, 64%, 54%)
CMYKcmyk(10.9%, 0%, 63.8%, 45.9%)
CIE-LABlab(54.68, -18.40, 43.92)
CIE-LCHlch(54.68, 47.62, 112.73°)
OKLaboklab(60.3% -0.0538 0.1005)
OKLCHoklch(60.3% 0.114 118.2)
XYZxyz(17.8329, 22.6184, 6.4433)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8A32 #41328A
analogous
#8A6D32 #7B8A32 #4F8A32
triadic
#7B8A32 #327B8A #8A327B
tetradic
#7B8A32 #328A6D #41328A #8A324F
square
#7B8A32 #328A6D #41328A #8A324F
split-complementary
#7B8A32 #324F8A #6D328A
monochromatic
#2B3011 #535D22 #7B8A32 #A3B742 #BACA6C

Accessibility & contrast

On white

3.80
#7B8A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#7B8A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8A32
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8A32#FFFFFF#000000##000000
##7B8A321.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938327
Deuteranopia (green-blind)
#918338
Tritanopia (blue-blind)
#828378
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7b8a32;
/* rgb */ color: rgb(123, 138, 50);
/* oklch */ color: oklch(60.3% 0.114 118.2);
Tailwind
colors: {
  custom: {
    50: '#a3ac6e',
    500: '#7b8a32',
    950: '#000000',
  },
}
SCSS
$custom: #7b8a32;
$custom-light: #a3ac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8a32",
  "rgb": {
    "r": 123,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 70.227,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60295,
    "c": 0.11401,
    "h": 118.2
  },
  "luminance": 0.22618
}

Semantic roles & 50–950 ramp

primary
#7B8A32
secondary
#7366B2
accent
#51D668
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7B8A32

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

Preview Lab → · Contrast checker → · Palette generator →

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