#7AAA2A#7AAA2A

#7AAA2A is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 68.0% C 0.161 H 128.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7AAA2A
RGBrgb(122, 170, 42)
HSLhsl(83, 60%, 42%)
HSVhsv(83, 75%, 67%)
CMYKcmyk(28.2%, 0%, 75.3%, 33.3%)
CIE-LABlab(64.20, -34.95, 56.78)
CIE-LCHlch(64.20, 66.68, 121.61°)
OKLaboklab(67.96% -0.1001 0.1264)
OKLCHoklch(67.96% 0.161 128.4)
XYZxyz(22.8187, 33.0536, 7.3678)
Luminance0.3305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AAA2A #5A2AAA
analogous
#AA9A2A #7AAA2A #3AAA2A
triadic
#7AAA2A #2A7AAA #AA2A7A
tetradic
#7AAA2A #2AAA9A #5A2AAA #AA2A3A
square
#7AAA2A #2AAA9A #5A2AAA #AA2A3A
split-complementary
#7AAA2A #2A3AAA #9A2AAA
monochromatic
#344812 #57791E #7AAA2A #9AD041 #B4DC72

Accessibility & contrast

On white

2.76
#7AAA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#7AAA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AAA2A
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AAA2A#FFFFFF#000000##000000
##7AAA2A1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E0E
Deuteranopia (green-blind)
#AC9B36
Tritanopia (blue-blind)
#7EA292
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7aaa2a;
/* rgb */ color: rgb(122, 170, 42);
/* oklch */ color: oklch(68.0% 0.161 128.4);
Tailwind
colors: {
  custom: {
    50: '#a4c36d',
    500: '#7aaa2a',
    950: '#000000',
  },
}
SCSS
$custom: #7aaa2a;
$custom-light: #a4c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#7aaa2a",
  "rgb": {
    "r": 122,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 82.5,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6796,
    "c": 0.16118,
    "h": 128.4
  },
  "luminance": 0.33054
}

Semantic roles & 50–950 ramp

primary
#7AAA2A
secondary
#8D6CC3
accent
#44E480
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7AAA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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