#7A8945#7A8945

#7A8945 is a mid, moderate yellow-green. Relative luminance 0.225; OKLCH L 60.2% C 0.094 H 119.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7A8945
RGBrgb(122, 137, 69)
HSLhsl(73, 33%, 40%)
HSVhsv(73, 50%, 54%)
CMYKcmyk(10.9%, 0%, 49.6%, 46.3%)
CIE-LABlab(54.51, -16.55, 34.41)
CIE-LCHlch(54.51, 38.18, 115.69°)
OKLaboklab(60.21% -0.0466 0.0821)
OKLCHoklch(60.21% 0.094 119.6)
XYZxyz(18.0460, 22.4586, 9.0133)
Luminance0.2246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8945 #544589
analogous
#897645 #7A8945 #588945
triadic
#7A8945 #457A89 #89457A
tetradic
#7A8945 #458976 #544589 #894558
square
#7A8945 #458976 #544589 #894558
split-complementary
#7A8945 #455889 #764589
monochromatic
#32381C #566031 #7A8945 #9CAE5E #B5C286

Accessibility & contrast

On white

3.82
#7A8945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7A8945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8945
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8945#FFFFFF#000000##000000
##7A89451.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823F
Deuteranopia (green-blind)
#8F8349
Tritanopia (blue-blind)
#808379
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7a8945;
/* rgb */ color: rgb(122, 137, 69);
/* oklch */ color: oklch(60.2% 0.094 119.6);
Tailwind
colors: {
  custom: {
    50: '#a2ab7a',
    500: '#7a8945',
    950: '#000000',
  },
}
SCSS
$custom: #7a8945;
$custom-light: #a2ab7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8945",
  "rgb": {
    "r": 122,
    "g": 137,
    "b": 69
  },
  "hsl": {
    "h": 73.235,
    "s": 33.01,
    "l": 40.392
  },
  "oklch": {
    "l": 0.60209,
    "c": 0.09442,
    "h": 119.6
  },
  "luminance": 0.22459
}

Semantic roles & 50–950 ramp

primary
#7A8945
secondary
#877CAD
accent
#5FC976
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7A8945

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

Preview Lab → · Contrast checker → · Palette generator →

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