#2AB340#2AB340

#2AB340 is a light, vivid green. Relative luminance 0.331; OKLCH L 67.2% C 0.193 H 145.2°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2AB340
RGBrgb(42, 179, 64)
HSLhsl(130, 62%, 43%)
HSVhsv(130, 77%, 70%)
CMYKcmyk(76.5%, 0%, 64.2%, 29.8%)
CIE-LABlab(64.24, -58.74, 47.25)
CIE-LCHlch(64.24, 75.39, 141.19°)
OKLaboklab(67.23% -0.1585 0.11)
OKLCHoklch(67.23% 0.193 145.2)
XYZxyz(17.9991, 33.1005, 10.2899)
Luminance0.3310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB340 #B32A9D
analogous
#58B32A #2AB340 #2AB384
triadic
#2AB340 #402AB3 #B3402A
tetradic
#2AB340 #2A58B3 #B32A9D #B3842A
square
#2AB340 #2A58B3 #B32A9D #B3842A
split-complementary
#2AB340 #842AB3 #B32A58
monochromatic
#13501D #1E812E #2AB340 #46D45D #78DF89

Accessibility & contrast

On white

2.76
#2AB340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#2AB340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB340
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB340#FFFFFF#000000##000000
##2AB3401.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A232
Deuteranopia (green-blind)
#A7984A
Tritanopia (blue-blind)
#00AE9B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #2ab340;
/* rgb */ color: rgb(42, 179, 64);
/* oklch */ color: oklch(67.2% 0.193 145.2);
Tailwind
colors: {
  custom: {
    50: '#7acb79',
    500: '#2ab340',
    950: '#000000',
  },
}
SCSS
$custom: #2ab340;
$custom-light: #7acb79;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab340",
  "rgb": {
    "r": 42,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 129.635,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.67233,
    "c": 0.19295,
    "h": 145.2
  },
  "luminance": 0.33103
}

Semantic roles & 50–950 ramp

primary
#2AB340
secondary
#C772B9
accent
#43CBE5
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2AB340

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

Preview Lab → · Contrast checker → · Palette generator →

#2AB340 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva