#7B8A6F#7B8A6F

#7B8A6F is a mid, muted yellow-green. Relative luminance 0.235; OKLCH L 61.4% C 0.043 H 131.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7B8A6F
RGBrgb(123, 138, 111)
HSLhsl(93, 11%, 49%)
HSVhsv(93, 20%, 54%)
CMYKcmyk(10.9%, 0%, 19.6%, 45.9%)
CIE-LABlab(55.62, -10.69, 12.67)
CIE-LCHlch(55.62, 16.58, 130.15°)
OKLaboklab(61.36% -0.0286 0.0325)
OKLCHoklch(61.36% 0.043 131.3)
XYZxyz(20.1256, 23.5354, 18.5183)
Luminance0.2354 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8A6F #7E6F8A
analogous
#898A6F #7B8A6F #6F8A71
triadic
#7B8A6F #6F7B8A #8A6F7B
tetradic
#7B8A6F #6F898A #7E6F8A #8A716F
square
#7B8A6F #6F898A #7E6F8A #8A716F
split-complementary
#7B8A6F #716F8A #8A6F89
monochromatic
#3F4638 #5D6854 #7B8A6F #9AA690 #B9C1B2

Accessibility & contrast

On white

3.68
#7B8A6F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#7B8A6F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8A6F
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8A6F#FFFFFF#000000##000000
##7B8A6F1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D866D
Deuteranopia (green-blind)
#8A8570
Tritanopia (blue-blind)
#7C8882
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7b8a6f;
/* rgb */ color: rgb(123, 138, 111);
/* oklch */ color: oklch(61.4% 0.043 131.3);
Tailwind
colors: {
  custom: {
    50: '#a1ac98',
    500: '#7b8a6f',
    950: '#000000',
  },
}
SCSS
$custom: #7b8a6f;
$custom-light: #a1ac98;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8a6f",
  "rgb": {
    "r": 123,
    "g": 138,
    "b": 111
  },
  "hsl": {
    "h": 93.333,
    "s": 10.843,
    "l": 48.824
  },
  "oklch": {
    "l": 0.61356,
    "c": 0.04331,
    "h": 131.3
  },
  "luminance": 0.23536
}

Semantic roles & 50–950 ramp

primary
#7B8A6F
secondary
#ABA4B1
accent
#74B497
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0F100D
muted
#7E7F7E

Preview Lab

Preview with #7B8A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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