#7B8A5A#7B8A5A

#7B8A5A is a mid, moderate yellow-green. Relative luminance 0.231; OKLCH L 60.9% C 0.071 H 122.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7B8A5A
RGBrgb(123, 138, 90)
HSLhsl(79, 21%, 45%)
HSVhsv(79, 35%, 54%)
CMYKcmyk(10.9%, 0%, 34.8%, 45.9%)
CIE-LABlab(55.20, -14.03, 23.96)
CIE-LCHlch(55.20, 27.76, 120.35°)
OKLaboklab(60.89% -0.0381 0.0595)
OKLCHoklch(60.89% 0.071 122.6)
XYZxyz(19.1022, 23.1261, 13.1283)
Luminance0.2313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8A5A #695A8A
analogous
#8A815A #7B8A5A #638A5A
triadic
#7B8A5A #5A7B8A #8A5A7B
tetradic
#7B8A5A #5A8A81 #695A8A #8A5A63
square
#7B8A5A #5A8A81 #695A8A #8A5A63
split-complementary
#7B8A5A #5A638A #815A8A
monochromatic
#39402A #5A6542 #7B8A5A #99A879 #B6C09E

Accessibility & contrast

On white

3.73
#7B8A5A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#7B8A5A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8A5A
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8A5A#FFFFFF#000000##000000
##7B8A5A1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8557
Deuteranopia (green-blind)
#8D845C
Tritanopia (blue-blind)
#7F857E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7b8a5a;
/* rgb */ color: rgb(123, 138, 90);
/* oklch */ color: oklch(60.9% 0.071 122.6);
Tailwind
colors: {
  custom: {
    50: '#a2ac89',
    500: '#7b8a5a',
    950: '#000000',
  },
}
SCSS
$custom: #7b8a5a;
$custom-light: #a2ac89;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8a5a",
  "rgb": {
    "r": 123,
    "g": 138,
    "b": 90
  },
  "hsl": {
    "h": 78.75,
    "s": 21.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.60886,
    "c": 0.07063,
    "h": 122.6
  },
  "luminance": 0.23126
}

Semantic roles & 50–950 ramp

primary
#7B8A5A
secondary
#9B92AE
accent
#6ABE84
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7B8A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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