#2AB162#2AB162

#2AB162 is a light, vivid green. Relative luminance 0.328; OKLCH L 67.2% C 0.161 H 152.3°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2AB162
RGBrgb(42, 177, 98)
HSLhsl(145, 62%, 43%)
HSVhsv(145, 76%, 69%)
CMYKcmyk(76.3%, 0%, 44.6%, 30.6%)
CIE-LABlab(64.01, -53.14, 30.49)
CIE-LCHlch(64.01, 61.27, 150.16°)
OKLaboklab(67.18% -0.1429 0.0751)
OKLCHoklch(67.18% 0.161 152.3)
XYZxyz(18.8799, 32.8161, 16.8920)
Luminance0.3282 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB162 #B12A79
analogous
#35B12A #2AB162 #2AB1A5
triadic
#2AB162 #622AB1 #B1622A
tetradic
#2AB162 #2A35B1 #B12A79 #B1A52A
square
#2AB162 #2A35B1 #B12A79 #B1A52A
split-complementary
#2AB162 #A52AB1 #B12A35
monochromatic
#134E2B #1E8047 #2AB162 #45D380 #77DFA2

Accessibility & contrast

On white

2.78
#2AB162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#2AB162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB162
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB162#FFFFFF#000000##000000
##2AB1621.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A25C
Deuteranopia (green-blind)
#A29767
Tritanopia (blue-blind)
#00AE9E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #2ab162;
/* rgb */ color: rgb(42, 177, 98);
/* oklch */ color: oklch(67.2% 0.161 152.3);
Tailwind
colors: {
  custom: {
    50: '#79c98f',
    500: '#2ab162',
    950: '#000000',
  },
}
SCSS
$custom: #2ab162;
$custom-light: #79c98f;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab162",
  "rgb": {
    "r": 42,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 144.889,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67177,
    "c": 0.16146,
    "h": 152.3
  },
  "luminance": 0.32818
}

Semantic roles & 50–950 ramp

primary
#2AB162
secondary
#C670A3
accent
#43A2E5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #2AB162

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

Preview Lab → · Contrast checker → · Palette generator →

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