#7AA42A#7AA42A

#7AA42A is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.5% C 0.154 H 127.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7AA42A
RGBrgb(122, 164, 42)
HSLhsl(81, 59%, 40%)
HSVhsv(81, 74%, 64%)
CMYKcmyk(25.6%, 0%, 74.4%, 35.7%)
CIE-LABlab(62.39, -32.18, 55.02)
CIE-LCHlch(62.39, 63.74, 120.32°)
OKLaboklab(66.48% -0.0925 0.1227)
OKLCHoklch(66.48% 0.154 127)
XYZxyz(21.7195, 30.8552, 7.0014)
Luminance0.3086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA42A #542AA4
analogous
#A4912A #7AA42A #3DA42A
triadic
#7AA42A #2A7AA4 #A42A7A
tetradic
#7AA42A #2AA491 #542AA4 #A42A3D
square
#7AA42A #2AA491 #542AA4 #A42A3D
split-complementary
#7AA42A #2A3DA4 #912AA4
monochromatic
#324311 #56731E #7AA42A #9CCD3E #B5DA6E

Accessibility & contrast

On white

2.93
#7AA42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#7AA42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AA42A
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA42A#FFFFFF#000000##000000
##7AA42A1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9911
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#7F9C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7aa42a;
/* rgb */ color: rgb(122, 164, 42);
/* oklch */ color: oklch(66.5% 0.154 127.0);
Tailwind
colors: {
  custom: {
    50: '#a4bf6c',
    500: '#7aa42a',
    950: '#000000',
  },
}
SCSS
$custom: #7aa42a;
$custom-light: #a4bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa42a",
  "rgb": {
    "r": 122,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 80.656,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66483,
    "c": 0.15364,
    "h": 127
  },
  "luminance": 0.30856
}

Semantic roles & 50–950 ramp

primary
#7AA42A
secondary
#8769C1
accent
#45E27B
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7AA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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