#2AB140#2AB140

#2AB140 is a light, vivid green. Relative luminance 0.323; OKLCH L 66.7% C 0.191 H 145.3°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#2AB140
RGBrgb(42, 177, 64)
HSLhsl(130, 62%, 43%)
HSVhsv(130, 76%, 69%)
CMYKcmyk(76.3%, 0%, 63.8%, 30.6%)
CIE-LABlab(63.59, -58.08, 46.52)
CIE-LCHlch(63.59, 74.42, 141.30°)
OKLaboklab(66.7% -0.1567 0.1085)
OKLCHoklch(66.7% 0.191 145.3)
XYZxyz(17.6012, 32.3046, 10.1573)
Luminance0.3231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB140 #B12A9B
analogous
#57B12A #2AB140 #2AB184
triadic
#2AB140 #402AB1 #B1402A
tetradic
#2AB140 #2A57B1 #B12A9B #B1842A
square
#2AB140 #2A57B1 #B12A9B #B1842A
split-complementary
#2AB140 #842AB1 #B12A57
monochromatic
#134E1C #1E802E #2AB140 #45D35C #77DF88

Accessibility & contrast

On white

2.81
#2AB140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#2AB140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB140
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB140#FFFFFF#000000##000000
##2AB1401.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A033
Deuteranopia (green-blind)
#A5964A
Tritanopia (blue-blind)
#00AC99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2ab140;
/* rgb */ color: rgb(42, 177, 64);
/* oklch */ color: oklch(66.7% 0.191 145.3);
Tailwind
colors: {
  custom: {
    50: '#7ac979',
    500: '#2ab140',
    950: '#000000',
  },
}
SCSS
$custom: #2ab140;
$custom-light: #7ac979;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab140",
  "rgb": {
    "r": 42,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 129.778,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66695,
    "c": 0.19059,
    "h": 145.3
  },
  "luminance": 0.32307
}

Semantic roles & 50–950 ramp

primary
#2AB140
secondary
#C670B8
accent
#43CAE5
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2AB140

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

Preview Lab → · Contrast checker → · Palette generator →

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