#7AAB2A#7AAB2A

#7AAB2A is a light, vivid yellow-green. Relative luminance 0.334; OKLCH L 68.2% C 0.162 H 128.6°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#7AAB2A
RGBrgb(122, 171, 42)
HSLhsl(83, 61%, 42%)
HSVhsv(83, 75%, 67%)
CMYKcmyk(28.7%, 0%, 75.4%, 32.9%)
CIE-LABlab(64.51, -35.41, 57.08)
CIE-LCHlch(64.51, 67.17, 121.81°)
OKLaboklab(68.21% -0.1013 0.127)
OKLCHoklch(68.21% 0.162 128.6)
XYZxyz(23.0068, 33.4300, 7.4305)
Luminance0.3343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AAB2A #5B2AAB
analogous
#AB9C2A #7AAB2A #3AAB2A
triadic
#7AAB2A #2A7AAB #AB2A7A
tetradic
#7AAB2A #2AAB9C #5B2AAB #AB2A3A
square
#7AAB2A #2AAB9C #5B2AAB #AB2A3A
split-complementary
#7AAB2A #2A3AAB #9C2AAB
monochromatic
#344912 #577A1E #7AAB2A #9AD142 #B4DD73

Accessibility & contrast

On white

2.73
#7AAB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#7AAB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AAB2A
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AAB2A#FFFFFF#000000##000000
##7AAB2A1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F0D
Deuteranopia (green-blind)
#AD9B37
Tritanopia (blue-blind)
#7EA392
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7aab2a;
/* rgb */ color: rgb(122, 171, 42);
/* oklch */ color: oklch(68.2% 0.162 128.6);
Tailwind
colors: {
  custom: {
    50: '#a5c46d',
    500: '#7aab2a',
    950: '#000000',
  },
}
SCSS
$custom: #7aab2a;
$custom-light: #a5c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#7aab2a",
  "rgb": {
    "r": 122,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 82.791,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68207,
    "c": 0.16243,
    "h": 128.6
  },
  "luminance": 0.33431
}

Semantic roles & 50–950 ramp

primary
#7AAB2A
secondary
#8E6DC4
accent
#44E481
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7AAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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