#7AA522#7AA522

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

Color values

HEX#7AA522
RGBrgb(122, 165, 34)
HSLhsl(80, 66%, 39%)
HSVhsv(80, 79%, 65%)
CMYKcmyk(26.1%, 0%, 79.4%, 35.3%)
CIE-LABlab(62.64, -33.07, 57.91)
CIE-LCHlch(62.64, 66.68, 119.73°)
OKLaboklab(66.68% -0.0955 0.1274)
OKLCHoklch(66.68% 0.159 126.9)
XYZxyz(21.7700, 31.1629, 6.3811)
Luminance0.3116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA522 #4D22A5
analogous
#A58F22 #7AA522 #38A522
triadic
#7AA522 #227AA5 #A5227A
tetradic
#7AA522 #22A58F #4D22A5 #A52238
square
#7AA522 #22A58F #4D22A5 #A52238
split-complementary
#7AA522 #2238A5 #8F22A5
monochromatic
#2F400D #547218 #7AA522 #9ED430 #B6DF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7AA522#FFFFFF#000000##000000
##7AA5221.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)
#A89730
Tritanopia (blue-blind)
#7F9D8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7aa522;
/* rgb */ color: rgb(122, 165, 34);
/* oklch */ color: oklch(66.7% 0.159 126.9);
Tailwind
colors: {
  custom: {
    50: '#a5c069',
    500: '#7aa522',
    950: '#000000',
  },
}
SCSS
$custom: #7aa522;
$custom-light: #a5c069;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa522",
  "rgb": {
    "r": 122,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 79.695,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6668,
    "c": 0.15927,
    "h": 126.9
  },
  "luminance": 0.31163
}

Semantic roles & 50–950 ramp

primary
#7AA522
secondary
#805FC4
accent
#3FE977
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7AA522

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

Preview Lab → · Contrast checker → · Palette generator →

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