#2AB138#2AB138

#2AB138 is a light, vivid green. Relative luminance 0.322; OKLCH L 66.6% C 0.196 H 144.3°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#2AB138
RGBrgb(42, 177, 56)
HSLhsl(126, 62%, 43%)
HSVhsv(126, 76%, 69%)
CMYKcmyk(76.3%, 0%, 68.4%, 30.6%)
CIE-LABlab(63.52, -58.93, 49.85)
CIE-LCHlch(63.52, 77.19, 139.77°)
OKLaboklab(66.62% -0.1593 0.1147)
OKLCHoklch(66.62% 0.196 144.3)
XYZxyz(17.3896, 32.2200, 9.0432)
Luminance0.3222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB138 #B12AA3
analogous
#60B12A #2AB138 #2AB17B
triadic
#2AB138 #382AB1 #B1382A
tetradic
#2AB138 #2A60B1 #B12AA3 #B17B2A
square
#2AB138 #2A60B1 #B12AA3 #B17B2A
split-complementary
#2AB138 #7B2AB1 #B12A60
monochromatic
#134E19 #1E8028 #2AB138 #45D354 #77DF82

Accessibility & contrast

On white

2.82
#2AB138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#2AB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB138
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB138#FFFFFF#000000##000000
##2AB1381.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A027
Deuteranopia (green-blind)
#A59643
Tritanopia (blue-blind)
#00AC98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2ab138;
/* rgb */ color: rgb(42, 177, 56);
/* oklch */ color: oklch(66.6% 0.196 144.3);
Tailwind
colors: {
  custom: {
    50: '#7aca75',
    500: '#2ab138',
    950: '#000000',
  },
}
SCSS
$custom: #2ab138;
$custom-light: #7aca75;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab138",
  "rgb": {
    "r": 42,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 126.222,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66615,
    "c": 0.1963,
    "h": 144.3
  },
  "luminance": 0.32222
}

Semantic roles & 50–950 ramp

primary
#2AB138
secondary
#C670BD
accent
#43D4E5
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2AB138

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

Preview Lab → · Contrast checker → · Palette generator →

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