#7AA22B#7AA22B

#7AA22B is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 66.0% C 0.151 H 126.6°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7AA22B
RGBrgb(122, 162, 43)
HSLhsl(80, 58%, 40%)
HSVhsv(80, 73%, 64%)
CMYKcmyk(24.7%, 0%, 73.5%, 36.5%)
CIE-LABlab(61.79, -31.19, 54.07)
CIE-LCHlch(61.79, 62.42, 119.97°)
OKLaboklab(66% -0.0897 0.1208)
OKLCHoklch(66% 0.151 126.6)
XYZxyz(21.3825, 30.1523, 6.9785)
Luminance0.3015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA22B #532BA2
analogous
#A28E2B #7AA22B #3EA22B
triadic
#7AA22B #2B7AA2 #A22B7A
tetradic
#7AA22B #2BA28E #532BA2 #A22B3E
square
#7AA22B #2BA28E #532BA2 #A22B3E
split-complementary
#7AA22B #2B3EA2 #8E2BA2
monochromatic
#314111 #56721E #7AA22B #9CCC3E #B5D96F

Accessibility & contrast

On white

2.99
#7AA22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#7AA22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AA22B
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA22B#FFFFFF#000000##000000
##7AA22B1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9715
Deuteranopia (green-blind)
#A59536
Tritanopia (blue-blind)
#7F9A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7aa22b;
/* rgb */ color: rgb(122, 162, 43);
/* oklch */ color: oklch(66.0% 0.151 126.6);
Tailwind
colors: {
  custom: {
    50: '#a4bd6d',
    500: '#7aa22b',
    950: '#000000',
  },
}
SCSS
$custom: #7aa22b;
$custom-light: #a4bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa22b",
  "rgb": {
    "r": 122,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 80.168,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65998,
    "c": 0.15051,
    "h": 126.6
  },
  "luminance": 0.30153
}

Semantic roles & 50–950 ramp

primary
#7AA22B
secondary
#8669C0
accent
#47E17B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7AA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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