#7AA22D#7AA22D

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

Color values

HEX#7AA22D
RGBrgb(122, 162, 45)
HSLhsl(81, 57%, 41%)
HSVhsv(81, 72%, 64%)
CMYKcmyk(24.7%, 0%, 72.2%, 36.5%)
CIE-LABlab(61.80, -31.06, 53.35)
CIE-LCHlch(61.80, 61.73, 120.21°)
OKLaboklab(66.01% -0.0892 0.1196)
OKLCHoklch(66.01% 0.149 126.7)
XYZxyz(21.4201, 30.1673, 7.1765)
Luminance0.3017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA22D #552DA2
analogous
#A28F2D #7AA22D #3FA22D
triadic
#7AA22D #2D7AA2 #A22D7A
tetradic
#7AA22D #2DA28F #552DA2 #A22D3F
square
#7AA22D #2DA28F #552DA2 #A22D3F
split-complementary
#7AA22D #2D3FA2 #8F2DA2
monochromatic
#324212 #567220 #7AA22D #9CCA42 #B5D872

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7AA22D#FFFFFF#000000##000000
##7AA22D1.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)
#AA9719
Deuteranopia (green-blind)
#A59537
Tritanopia (blue-blind)
#7F9A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7aa22d;
/* rgb */ color: rgb(122, 162, 45);
/* oklch */ color: oklch(66.0% 0.149 126.7);
Tailwind
colors: {
  custom: {
    50: '#a4bd6e',
    500: '#7aa22d',
    950: '#000000',
  },
}
SCSS
$custom: #7aa22d;
$custom-light: #a4bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa22d",
  "rgb": {
    "r": 122,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 80.513,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66013,
    "c": 0.14923,
    "h": 126.7
  },
  "luminance": 0.30168
}

Semantic roles & 50–950 ramp

primary
#7AA22D
secondary
#886CBF
accent
#48E07C
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7AA22D

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

Preview Lab → · Contrast checker → · Palette generator →

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