#7AAB2B#7AAB2B

#7AAB2B 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#7AAB2B
RGBrgb(122, 171, 43)
HSLhsl(83, 60%, 42%)
HSVhsv(83, 75%, 67%)
CMYKcmyk(28.7%, 0%, 74.9%, 32.9%)
CIE-LABlab(64.51, -35.35, 56.74)
CIE-LCHlch(64.51, 66.85, 121.92°)
OKLaboklab(68.21% -0.1011 0.1264)
OKLCHoklch(68.21% 0.162 128.6)
XYZxyz(23.0250, 33.4372, 7.5260)
Luminance0.3344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AAB2B #5C2BAB
analogous
#AB9C2B #7AAB2B #3AAB2B
triadic
#7AAB2B #2B7AAB #AB2B7A
tetradic
#7AAB2B #2BAB9C #5C2BAB #AB2B3A
square
#7AAB2B #2BAB9C #5C2BAB #AB2B3A
split-complementary
#7AAB2B #2B3AAB #9C2BAB
monochromatic
#344912 #577A1F #7AAB2B #9AD043 #B4DC74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7AAB2B#FFFFFF#000000##000000
##7AAB2B1.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)
#B39F10
Deuteranopia (green-blind)
#AD9B37
Tritanopia (blue-blind)
#7EA393
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7aab2b;
/* rgb */ color: rgb(122, 171, 43);
/* oklch */ color: oklch(68.2% 0.162 128.6);
Tailwind
colors: {
  custom: {
    50: '#a5c46e',
    500: '#7aab2b',
    950: '#000000',
  },
}
SCSS
$custom: #7aab2b;
$custom-light: #a5c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#7aab2b",
  "rgb": {
    "r": 122,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 82.969,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68213,
    "c": 0.16186,
    "h": 128.6
  },
  "luminance": 0.33438
}

Semantic roles & 50–950 ramp

primary
#7AAB2B
secondary
#8F6EC4
accent
#45E381
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7AAB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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