#7B8A5B#7B8A5B

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

Color values

HEX#7B8A5B
RGBrgb(123, 138, 91)
HSLhsl(79, 21%, 45%)
HSVhsv(79, 34%, 54%)
CMYKcmyk(10.9%, 0%, 34.1%, 45.9%)
CIE-LABlab(55.22, -13.89, 23.42)
CIE-LCHlch(55.22, 27.23, 120.66°)
OKLaboklab(60.91% -0.0376 0.0583)
OKLCHoklch(60.91% 0.069 122.8)
XYZxyz(19.1450, 23.1432, 13.3540)
Luminance0.2314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8A5B #6A5B8A
analogous
#8A825B #7B8A5B #648A5B
triadic
#7B8A5B #5B7B8A #8A5B7B
tetradic
#7B8A5B #5B8A82 #6A5B8A #8A5B64
square
#7B8A5B #5B8A82 #6A5B8A #8A5B64
split-complementary
#7B8A5B #5B648A #825B8A
monochromatic
#39402A #5A6543 #7B8A5B #99A87B #B6C09F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B8A5B#FFFFFF#000000##000000
##7B8A5B1.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)
#8F8558
Deuteranopia (green-blind)
#8D845D
Tritanopia (blue-blind)
#7F867E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7b8a5b;
/* rgb */ color: rgb(123, 138, 91);
/* oklch */ color: oklch(60.9% 0.069 122.8);
Tailwind
colors: {
  custom: {
    50: '#a2ac8a',
    500: '#7b8a5b',
    950: '#000000',
  },
}
SCSS
$custom: #7b8a5b;
$custom-light: #a2ac8a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8a5b",
  "rgb": {
    "r": 123,
    "g": 138,
    "b": 91
  },
  "hsl": {
    "h": 79.149,
    "s": 20.524,
    "l": 44.902
  },
  "oklch": {
    "l": 0.60906,
    "c": 0.06936,
    "h": 122.8
  },
  "luminance": 0.23143
}

Semantic roles & 50–950 ramp

primary
#7B8A5B
secondary
#9B93AE
accent
#6BBD85
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7B8A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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