#7B8941#7B8941

#7B8941 is a mid, moderate yellow-green. Relative luminance 0.225; OKLCH L 60.2% C 0.098 H 118.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7B8941
RGBrgb(123, 137, 65)
HSLhsl(72, 36%, 40%)
HSVhsv(72, 53%, 54%)
CMYKcmyk(10.2%, 0%, 52.6%, 46.3%)
CIE-LABlab(54.54, -16.54, 36.52)
CIE-LCHlch(54.54, 40.09, 114.37°)
OKLaboklab(60.23% -0.047 0.0864)
OKLCHoklch(60.23% 0.098 118.6)
XYZxyz(18.0684, 22.4840, 8.3880)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8941 #4F4189
analogous
#897341 #7B8941 #578941
triadic
#7B8941 #417B89 #89417B
tetradic
#7B8941 #418973 #4F4189 #894157
square
#7B8941 #418973 #4F4189 #894157
split-complementary
#7B8941 #415789 #734189
monochromatic
#30361A #565F2D #7B8941 #9EB058 #B6C381

Accessibility & contrast

On white

3.82
#7B8941 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7B8941 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8941
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8941#FFFFFF#000000##000000
##7B89411.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91823A
Deuteranopia (green-blind)
#8F8345
Tritanopia (blue-blind)
#818379
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7b8941;
/* rgb */ color: rgb(123, 137, 65);
/* oklch */ color: oklch(60.2% 0.098 118.6);
Tailwind
colors: {
  custom: {
    50: '#a3ab78',
    500: '#7b8941',
    950: '#000000',
  },
}
SCSS
$custom: #7b8941;
$custom-light: #a3ab78;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8941",
  "rgb": {
    "r": 123,
    "g": 137,
    "b": 65
  },
  "hsl": {
    "h": 71.667,
    "s": 35.644,
    "l": 39.608
  },
  "oklch": {
    "l": 0.60233,
    "c": 0.09836,
    "h": 118.6
  },
  "luminance": 0.22484
}

Semantic roles & 50–950 ramp

primary
#7B8941
secondary
#8278AE
accent
#5CCC72
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7B8941

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

Preview Lab → · Contrast checker → · Palette generator →

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