#7A8A46#7A8A46

#7A8A46 is a mid, moderate yellow-green. Relative luminance 0.228; OKLCH L 60.5% C 0.095 H 120.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7A8A46
RGBrgb(122, 138, 70)
HSLhsl(74, 33%, 41%)
HSVhsv(74, 49%, 54%)
CMYKcmyk(11.6%, 0%, 49.3%, 45.9%)
CIE-LABlab(54.82, -16.97, 34.26)
CIE-LCHlch(54.82, 38.23, 116.34°)
OKLaboklab(60.46% -0.0477 0.0819)
OKLCHoklch(60.46% 0.095 120.2)
XYZxyz(18.2201, 22.7568, 9.2258)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8A46 #56468A
analogous
#8A7846 #7A8A46 #588A46
triadic
#7A8A46 #467A8A #8A467A
tetradic
#7A8A46 #468A78 #56468A #8A4658
square
#7A8A46 #468A78 #56468A #8A4658
split-complementary
#7A8A46 #46588A #78468A
monochromatic
#32391D #566131 #7A8A46 #9BAE5F #B5C388

Accessibility & contrast

On white

3.78
#7A8A46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#7A8A46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8A46
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8A46#FFFFFF#000000##000000
##7A8A461.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918340
Deuteranopia (green-blind)
#8F834A
Tritanopia (blue-blind)
#7F847A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7a8a46;
/* rgb */ color: rgb(122, 138, 70);
/* oklch */ color: oklch(60.5% 0.095 120.2);
Tailwind
colors: {
  custom: {
    50: '#a2ac7b',
    500: '#7a8a46',
    950: '#000000',
  },
}
SCSS
$custom: #7a8a46;
$custom-light: #a2ac7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8a46",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 70
  },
  "hsl": {
    "h": 74.118,
    "s": 32.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.60462,
    "c": 0.09476,
    "h": 120.2
  },
  "luminance": 0.22757
}

Semantic roles & 50–950 ramp

primary
#7A8A46
secondary
#897EAE
accent
#5FC978
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7A8A46

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

Preview Lab → · Contrast checker → · Palette generator →

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