#7AA520#7AA520

#7AA520 is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.7% C 0.160 H 126.8°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7AA520
RGBrgb(122, 165, 32)
HSLhsl(79, 68%, 39%)
HSVhsv(79, 81%, 65%)
CMYKcmyk(26.1%, 0%, 80.6%, 35.3%)
CIE-LABlab(62.64, -33.16, 58.50)
CIE-LCHlch(62.64, 67.24, 119.54°)
OKLaboklab(66.67% -0.0959 0.1283)
OKLCHoklch(66.67% 0.16 126.8)
XYZxyz(21.7420, 31.1517, 6.2336)
Luminance0.3115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA520 #4B20A5
analogous
#A58D20 #7AA520 #38A520
triadic
#7AA520 #207AA5 #A5207A
tetradic
#7AA520 #20A58D #4B20A5 #A52038
square
#7AA520 #20A58D #4B20A5 #A52038
split-complementary
#7AA520 #2038A5 #8D20A5
monochromatic
#2E3E0C #547216 #7AA520 #9FD62C #B6E05F

Accessibility & contrast

On white

2.90
#7AA520 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#7AA520 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AA520
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA520#FFFFFF#000000##000000
##7AA5201.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A8972E
Tritanopia (blue-blind)
#7F9D8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7aa520;
/* rgb */ color: rgb(122, 165, 32);
/* oklch */ color: oklch(66.7% 0.160 126.8);
Tailwind
colors: {
  custom: {
    50: '#a5c068',
    500: '#7aa520',
    950: '#000000',
  },
}
SCSS
$custom: #7aa520;
$custom-light: #a5c068;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa520",
  "rgb": {
    "r": 122,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 79.398,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66669,
    "c": 0.16024,
    "h": 126.8
  },
  "luminance": 0.31152
}

Semantic roles & 50–950 ramp

primary
#7AA520
secondary
#7E5CC5
accent
#3DEA75
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7AA520

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

Preview Lab → · Contrast checker → · Palette generator →

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