#7AB12A#7AB12A

#7AB12A is a light, vivid yellow-green. Relative luminance 0.357; OKLCH L 69.7% C 0.170 H 129.8°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7AB12A
RGBrgb(122, 177, 42)
HSLhsl(84, 62%, 43%)
HSVhsv(84, 76%, 69%)
CMYKcmyk(31.1%, 0%, 76.3%, 30.6%)
CIE-LABlab(66.33, -38.10, 58.82)
CIE-LCHlch(66.33, 70.08, 122.93°)
OKLaboklab(69.69% -0.1086 0.1306)
OKLCHoklch(69.69% 0.17 129.8)
XYZxyz(24.1660, 35.7483, 7.8169)
Luminance0.3575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB12A #612AB1
analogous
#B1A42A #7AB12A #37B12A
triadic
#7AB12A #2A7AB1 #B12A7A
tetradic
#7AB12A #2AB1A4 #612AB1 #B12A37
square
#7AB12A #2AB1A4 #612AB1 #B12A37
split-complementary
#7AB12A #2A37B1 #A42AB1
monochromatic
#364E13 #58801E #7AB12A #99D345 #B4DF77

Accessibility & contrast

On white

2.58
#7AB12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#7AB12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB12A
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB12A#FFFFFF#000000##000000
##7AB12A1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A408
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#7DA998
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7ab12a;
/* rgb */ color: rgb(122, 177, 42);
/* oklch */ color: oklch(69.7% 0.170 129.8);
Tailwind
colors: {
  custom: {
    50: '#a5c86e',
    500: '#7ab12a',
    950: '#000000',
  },
}
SCSS
$custom: #7ab12a;
$custom-light: #a5c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab12a",
  "rgb": {
    "r": 122,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 84.444,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69687,
    "c": 0.16989,
    "h": 129.8
  },
  "luminance": 0.35749
}

Semantic roles & 50–950 ramp

primary
#7AB12A
secondary
#9370C6
accent
#43E585
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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