#7AA12A#7AA12A

#7AA12A is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.7% C 0.150 H 126.3°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7AA12A
RGBrgb(122, 161, 42)
HSLhsl(80, 59%, 40%)
HSVhsv(80, 74%, 63%)
CMYKcmyk(24.2%, 0%, 73.9%, 36.9%)
CIE-LABlab(61.48, -30.77, 54.13)
CIE-LCHlch(61.48, 62.27, 119.62°)
OKLaboklab(65.75% -0.0887 0.1208)
OKLCHoklch(65.75% 0.15 126.3)
XYZxyz(21.1889, 29.7941, 6.8246)
Luminance0.2979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA12A #512AA1
analogous
#A18D2A #7AA12A #3EA12A
triadic
#7AA12A #2A7AA1 #A12A7A
tetradic
#7AA12A #2AA18D #512AA1 #A12A3E
square
#7AA12A #2AA18D #512AA1 #A12A3E
split-complementary
#7AA12A #2A3EA1 #8D2AA1
monochromatic
#304011 #55701D #7AA12A #9DCC3C #B5D96D

Accessibility & contrast

On white

3.02
#7AA12A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#7AA12A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7AA12A
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA12A#FFFFFF#000000##000000
##7AA12A1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9613
Deuteranopia (green-blind)
#A49435
Tritanopia (blue-blind)
#7F998A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7aa12a;
/* rgb */ color: rgb(122, 161, 42);
/* oklch */ color: oklch(65.7% 0.150 126.3);
Tailwind
colors: {
  custom: {
    50: '#a4bd6c',
    500: '#7aa12a',
    950: '#000000',
  },
}
SCSS
$custom: #7aa12a;
$custom-light: #a4bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa12a",
  "rgb": {
    "r": 122,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 79.664,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65746,
    "c": 0.14985,
    "h": 126.3
  },
  "luminance": 0.29794
}

Semantic roles & 50–950 ramp

primary
#7AA12A
secondary
#8467C0
accent
#46E279
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7AA12A

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

Preview Lab → · Contrast checker → · Palette generator →

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