#7B8961#7B8961

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

Color values

HEX#7B8961
RGBrgb(123, 137, 97)
HSLhsl(81, 17%, 46%)
HSVhsv(81, 29%, 54%)
CMYKcmyk(10.2%, 0%, 29.2%, 46.3%)
CIE-LABlab(55.04, -12.45, 19.82)
CIE-LCHlch(55.04, 23.41, 122.14°)
OKLaboklab(60.8% -0.0334 0.0499)
OKLCHoklch(60.8% 0.06 123.8)
XYZxyz(19.2715, 22.9653, 14.7244)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8961 #6F6189
analogous
#898361 #7B8961 #678961
triadic
#7B8961 #617B89 #89617B
tetradic
#7B8961 #618983 #6F6189 #896167
square
#7B8961 #618983 #6F6189 #896167
split-complementary
#7B8961 #616789 #836189
monochromatic
#3B412E #5B6548 #7B8961 #99A681 #B6BFA5

Accessibility & contrast

On white

3.75
#7B8961 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B8961#FFFFFF#000000##000000
##7B89611.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b8961;
/* rgb */ color: rgb(123, 137, 97);
/* oklch */ color: oklch(60.8% 0.060 123.8);
Tailwind
colors: {
  custom: {
    50: '#a1ab8e',
    500: '#7b8961',
    950: '#000000',
  },
}
SCSS
$custom: #7b8961;
$custom-light: #a1ab8e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8961",
  "rgb": {
    "r": 123,
    "g": 137,
    "b": 97
  },
  "hsl": {
    "h": 81,
    "s": 17.094,
    "l": 45.882
  },
  "oklch": {
    "l": 0.60796,
    "c": 0.06002,
    "h": 123.8
  },
  "luminance": 0.22965
}

Semantic roles & 50–950 ramp

primary
#7B8961
secondary
#A098AE
accent
#6EBA89
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100C
muted
#7E7F7D

Preview Lab

Preview with #7B8961

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

Preview Lab → · Contrast checker → · Palette generator →

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