#7AAB2E#7AAB2E

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

Color values

HEX#7AAB2E
RGBrgb(122, 171, 46)
HSLhsl(84, 58%, 43%)
HSVhsv(84, 73%, 67%)
CMYKcmyk(28.7%, 0%, 73.1%, 32.9%)
CIE-LABlab(64.53, -35.17, 55.69)
CIE-LCHlch(64.53, 65.87, 122.27°)
OKLaboklab(68.23% -0.1004 0.1247)
OKLCHoklch(68.23% 0.16 128.8)
XYZxyz(23.0820, 33.4601, 7.8266)
Luminance0.3346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AAB2E #5F2EAB
analogous
#AB9E2E #7AAB2E #3BAB2E
triadic
#7AAB2E #2E7AAB #AB2E7A
tetradic
#7AAB2E #2EAB9E #5F2EAB #AB2E3B
square
#7AAB2E #2EAB9E #5F2EAB #AB2E3B
split-complementary
#7AAB2E #2E3BAB #9E2EAB
monochromatic
#354B14 #587B21 #7AAB2E #9ACE48 #B4DB79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7AAB2E#FFFFFF#000000##000000
##7AAB2E1.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)
#B39F17
Deuteranopia (green-blind)
#AD9B3A
Tritanopia (blue-blind)
#7EA393
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7aab2e;
/* rgb */ color: rgb(122, 171, 46);
/* oklch */ color: oklch(68.2% 0.160 128.8);
Tailwind
colors: {
  custom: {
    50: '#a4c46f',
    500: '#7aab2e',
    950: '#000000',
  },
}
SCSS
$custom: #7aab2e;
$custom-light: #a4c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#7aab2e",
  "rgb": {
    "r": 122,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 83.52,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68234,
    "c": 0.16007,
    "h": 128.8
  },
  "luminance": 0.33461
}

Semantic roles & 50–950 ramp

primary
#7AAB2E
secondary
#9272C3
accent
#47E183
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7AAB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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