#7B8A5E#7B8A5E

#7B8A5E is a mid, moderate yellow-green. Relative luminance 0.232; OKLCH L 61.0% C 0.066 H 123.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7B8A5E
RGBrgb(123, 138, 94)
HSLhsl(80, 19%, 45%)
HSVhsv(80, 32%, 54%)
CMYKcmyk(10.9%, 0%, 31.9%, 45.9%)
CIE-LABlab(55.27, -13.45, 21.82)
CIE-LCHlch(55.27, 25.63, 121.64°)
OKLaboklab(60.97% -0.0363 0.0546)
OKLCHoklch(60.97% 0.066 123.6)
XYZxyz(19.2770, 23.1960, 14.0492)
Luminance0.2320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8A5E #6D5E8A
analogous
#8A835E #7B8A5E #658A5E
triadic
#7B8A5E #5E7B8A #8A5E7B
tetradic
#7B8A5E #5E8A83 #6D5E8A #8A5E65
square
#7B8A5E #5E8A83 #6D5E8A #8A5E65
split-complementary
#7B8A5E #5E658A #835E8A
monochromatic
#3A412C #5B6645 #7B8A5E #99A77E #B6C0A2

Accessibility & contrast

On white

3.72
#7B8A5E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#7B8A5E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8A5E
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8A5E#FFFFFF#000000##000000
##7B8A5E1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F855B
Deuteranopia (green-blind)
#8D8460
Tritanopia (blue-blind)
#7E867F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7b8a5e;
/* rgb */ color: rgb(123, 138, 94);
/* oklch */ color: oklch(61.0% 0.066 123.6);
Tailwind
colors: {
  custom: {
    50: '#a1ac8c',
    500: '#7b8a5e',
    950: '#000000',
  },
}
SCSS
$custom: #7b8a5e;
$custom-light: #a1ac8c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8a5e",
  "rgb": {
    "r": 123,
    "g": 138,
    "b": 94
  },
  "hsl": {
    "h": 80.455,
    "s": 18.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.60967,
    "c": 0.06553,
    "h": 123.6
  },
  "luminance": 0.23196
}

Semantic roles & 50–950 ramp

primary
#7B8A5E
secondary
#9E96AE
accent
#6CBC87
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100C
muted
#7F7F7D

Preview Lab

Preview with #7B8A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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