#7A8A5A#7A8A5A

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

Color values

HEX#7A8A5A
RGBrgb(122, 138, 90)
HSLhsl(80, 21%, 45%)
HSVhsv(80, 35%, 54%)
CMYKcmyk(11.6%, 0%, 34.8%, 45.9%)
CIE-LABlab(55.13, -14.43, 23.84)
CIE-LCHlch(55.13, 27.87, 121.19°)
OKLaboklab(60.81% -0.0392 0.0592)
OKLCHoklch(60.81% 0.071 123.5)
XYZxyz(18.9598, 23.0527, 13.1216)
Luminance0.2305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8A5A #6A5A8A
analogous
#8A825A #7A8A5A #628A5A
triadic
#7A8A5A #5A7A8A #8A5A7A
tetradic
#7A8A5A #5A8A82 #6A5A8A #8A5A62
square
#7A8A5A #5A8A82 #6A5A8A #8A5A62
split-complementary
#7A8A5A #5A628A #825A8A
monochromatic
#39402A #596542 #7A8A5A #98A879 #B5C09E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A8A5A#FFFFFF#000000##000000
##7A8A5A1.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)
#8F8457
Deuteranopia (green-blind)
#8D845C
Tritanopia (blue-blind)
#7D857E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7a8a5a;
/* rgb */ color: rgb(122, 138, 90);
/* oklch */ color: oklch(60.8% 0.071 123.5);
Tailwind
colors: {
  custom: {
    50: '#a1ac89',
    500: '#7a8a5a',
    950: '#000000',
  },
}
SCSS
$custom: #7a8a5a;
$custom-light: #a1ac89;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8a5a",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 90
  },
  "hsl": {
    "h": 80,
    "s": 21.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.60807,
    "c": 0.07102,
    "h": 123.5
  },
  "luminance": 0.23053
}

Semantic roles & 50–950 ramp

primary
#7A8A5A
secondary
#9B92AE
accent
#6ABE86
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100B
muted
#7E7F7C

Preview Lab

Preview with #7A8A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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