#7B8560#7B8560

#7B8560 is a mid, muted yellow-green. Relative luminance 0.218; OKLCH L 59.8% C 0.055 H 120.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7B8560
RGBrgb(123, 133, 96)
HSLhsl(76, 16%, 45%)
HSVhsv(76, 28%, 52%)
CMYKcmyk(7.5%, 0%, 27.8%, 47.8%)
CIE-LABlab(53.85, -10.43, 18.78)
CIE-LCHlch(53.85, 21.48, 119.04°)
OKLaboklab(59.84% -0.0277 0.0473)
OKLCHoklch(59.84% 0.055 120.4)
XYZxyz(18.6671, 21.8306, 14.2944)
Luminance0.2183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8560 #6A6085
analogous
#857C60 #7B8560 #698560
triadic
#7B8560 #607B85 #85607B
tetradic
#7B8560 #60857C #6A6085 #856069
square
#7B8560 #60857C #6A6085 #856069
split-complementary
#7B8560 #606985 #7C6085
monochromatic
#393E2D #5A6146 #7B8560 #99A37F #B6BDA3

Accessibility & contrast

On white

3.91
#7B8560 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7B8560 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8560
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8560#FFFFFF#000000##000000
##7B85601.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A815E
Deuteranopia (green-blind)
#888162
Tritanopia (blue-blind)
#7E817B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b8560;
/* rgb */ color: rgb(123, 133, 96);
/* oklch */ color: oklch(59.8% 0.055 120.4);
Tailwind
colors: {
  custom: {
    50: '#a1a88d',
    500: '#7b8560',
    950: '#000000',
  },
}
SCSS
$custom: #7b8560;
$custom-light: #a1a88d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8560",
  "rgb": {
    "r": 123,
    "g": 133,
    "b": 96
  },
  "hsl": {
    "h": 76.216,
    "s": 16.157,
    "l": 44.902
  },
  "oklch": {
    "l": 0.59842,
    "c": 0.05486,
    "h": 120.4
  },
  "luminance": 0.21831
}

Semantic roles & 50–950 ramp

primary
#7B8560
secondary
#9B96AB
accent
#6FB983
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F0F0C
muted
#7E7F7D

Preview Lab

Preview with #7B8560

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

Preview Lab → · Contrast checker → · Palette generator →

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