#7A8A5B#7A8A5B

#7A8A5B is a mid, moderate yellow-green. Relative luminance 0.231; OKLCH L 60.8% C 0.070 H 123.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7A8A5B
RGBrgb(122, 138, 91)
HSLhsl(80, 21%, 45%)
HSVhsv(80, 34%, 54%)
CMYKcmyk(11.6%, 0%, 34.1%, 45.9%)
CIE-LABlab(55.14, -14.29, 23.31)
CIE-LCHlch(55.14, 27.34, 121.51°)
OKLaboklab(60.83% -0.0387 0.058)
OKLCHoklch(60.83% 0.07 123.7)
XYZxyz(19.0027, 23.0698, 13.3473)
Luminance0.2307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8A5B #6B5B8A
analogous
#8A835B #7A8A5B #628A5B
triadic
#7A8A5B #5B7A8A #8A5B7A
tetradic
#7A8A5B #5B8A83 #6B5B8A #8A5B62
square
#7A8A5B #5B8A83 #6B5B8A #8A5B62
split-complementary
#7A8A5B #5B628A #835B8A
monochromatic
#39402A #596543 #7A8A5B #98A87B #B5C09F

Accessibility & contrast

On white

3.74
#7A8A5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#7A8A5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8A5B
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8A5B#FFFFFF#000000##000000
##7A8A5B1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8458
Deuteranopia (green-blind)
#8D845D
Tritanopia (blue-blind)
#7D867E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7a8a5b;
/* rgb */ color: rgb(122, 138, 91);
/* oklch */ color: oklch(60.8% 0.070 123.7);
Tailwind
colors: {
  custom: {
    50: '#a1ac8a',
    500: '#7a8a5b',
    950: '#000000',
  },
}
SCSS
$custom: #7a8a5b;
$custom-light: #a1ac8a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8a5b",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 91
  },
  "hsl": {
    "h": 80.426,
    "s": 20.524,
    "l": 44.902
  },
  "oklch": {
    "l": 0.60826,
    "c": 0.06976,
    "h": 123.7
  },
  "luminance": 0.2307
}

Semantic roles & 50–950 ramp

primary
#7A8A5B
secondary
#9C93AE
accent
#6BBD87
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100B
muted
#7E7F7C

Preview Lab

Preview with #7A8A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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