#2AB148#2AB148

#2AB148 is a light, vivid green. Relative luminance 0.324; OKLCH L 66.8% C 0.184 H 146.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2AB148
RGBrgb(42, 177, 72)
HSLhsl(133, 62%, 43%)
HSVhsv(133, 76%, 69%)
CMYKcmyk(76.3%, 0%, 59.3%, 30.6%)
CIE-LABlab(63.67, -57.12, 42.99)
CIE-LCHlch(63.67, 71.48, 143.03°)
OKLaboklab(66.79% -0.1538 0.1016)
OKLCHoklch(66.79% 0.184 146.5)
XYZxyz(17.8454, 32.4023, 11.4434)
Luminance0.3240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB148 #B12A93
analogous
#50B12A #2AB148 #2AB18B
triadic
#2AB148 #482AB1 #B1482A
tetradic
#2AB148 #2A50B1 #B12A93 #B18B2A
square
#2AB148 #2A50B1 #B12A93 #B18B2A
split-complementary
#2AB148 #8B2AB1 #B12A50
monochromatic
#134E20 #1E8034 #2AB148 #45D365 #77DF8E

Accessibility & contrast

On white

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

On black

7.48
#2AB148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB148
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB148#FFFFFF#000000##000000
##2AB1481.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A13D
Deuteranopia (green-blind)
#A49651
Tritanopia (blue-blind)
#00AD9A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2ab148;
/* rgb */ color: rgb(42, 177, 72);
/* oklch */ color: oklch(66.8% 0.184 146.5);
Tailwind
colors: {
  custom: {
    50: '#79c97e',
    500: '#2ab148',
    950: '#000000',
  },
}
SCSS
$custom: #2ab148;
$custom-light: #79c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab148",
  "rgb": {
    "r": 42,
    "g": 177,
    "b": 72
  },
  "hsl": {
    "h": 133.333,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66787,
    "c": 0.18433,
    "h": 146.5
  },
  "luminance": 0.32404
}

Semantic roles & 50–950 ramp

primary
#2AB148
secondary
#C670B3
accent
#43C1E5
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #2AB148

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

Preview Lab → · Contrast checker → · Palette generator →

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