#7B8960#7B8960

#7B8960 is a mid, moderate yellow-green. Relative luminance 0.229; OKLCH L 60.8% C 0.061 H 123.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7B8960
RGBrgb(123, 137, 96)
HSLhsl(80, 18%, 46%)
HSVhsv(80, 30%, 54%)
CMYKcmyk(10.2%, 0%, 29.9%, 46.3%)
CIE-LABlab(55.02, -12.61, 20.36)
CIE-LCHlch(55.02, 23.94, 121.77°)
OKLaboklab(60.77% -0.0339 0.0511)
OKLCHoklch(60.77% 0.061 123.5)
XYZxyz(19.2251, 22.9468, 14.4804)
Luminance0.2295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8960 #6E6089
analogous
#898260 #7B8960 #668960
triadic
#7B8960 #607B89 #89607B
tetradic
#7B8960 #608982 #6E6089 #896066
square
#7B8960 #608982 #6E6089 #896066
split-complementary
#7B8960 #606689 #826089
monochromatic
#3A412E #5B6547 #7B8960 #99A680 #B6BFA4

Accessibility & contrast

On white

3.76
#7B8960 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#7B8960 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8960
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8960#FFFFFF#000000##000000
##7B89601.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E845D
Deuteranopia (green-blind)
#8C8462
Tritanopia (blue-blind)
#7E857E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7b8960;
/* rgb */ color: rgb(123, 137, 96);
/* oklch */ color: oklch(60.8% 0.061 123.5);
Tailwind
colors: {
  custom: {
    50: '#a1ab8d',
    500: '#7b8960',
    950: '#000000',
  },
}
SCSS
$custom: #7b8960;
$custom-light: #a1ab8d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8960",
  "rgb": {
    "r": 123,
    "g": 137,
    "b": 96
  },
  "hsl": {
    "h": 80.488,
    "s": 17.597,
    "l": 45.686
  },
  "oklch": {
    "l": 0.60774,
    "c": 0.06133,
    "h": 123.5
  },
  "luminance": 0.22947
}

Semantic roles & 50–950 ramp

primary
#7B8960
secondary
#9F97AE
accent
#6EBA88
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100C
muted
#7E7F7D

Preview Lab

Preview with #7B8960

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

Preview Lab → · Contrast checker → · Palette generator →

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