#2AB843#2AB843

#2AB843 is a light, vivid green. Relative luminance 0.352; OKLCH L 68.6% C 0.197 H 145.5°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2AB843
RGBrgb(42, 184, 67)
HSLhsl(131, 63%, 44%)
HSVhsv(131, 77%, 72%)
CMYKcmyk(77.2%, 0%, 63.6%, 27.8%)
CIE-LABlab(65.89, -60.05, 47.78)
CIE-LCHlch(65.89, 76.74, 141.50°)
OKLaboklab(68.61% -0.1619 0.1115)
OKLCHoklch(68.61% 0.197 145.5)
XYZxyz(19.1071, 35.1762, 11.0918)
Luminance0.3518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB843 #B82A9F
analogous
#58B82A #2AB843 #2AB88A
triadic
#2AB843 #432AB8 #B8432A
tetradic
#2AB843 #2A58B8 #B82A9F #B88A2A
square
#2AB843 #2A58B8 #B82A9F #B88A2A
split-complementary
#2AB843 #8A2AB8 #B82A58
monochromatic
#13541F #1F8631 #2AB843 #4AD662 #7BE18D

Accessibility & contrast

On white

2.61
#2AB843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#2AB843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB843
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB843#FFFFFF#000000##000000
##2AB8431.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA735
Deuteranopia (green-blind)
#AB9C4D
Tritanopia (blue-blind)
#00B39F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #2ab843;
/* rgb */ color: rgb(42, 184, 67);
/* oklch */ color: oklch(68.6% 0.197 145.5);
Tailwind
colors: {
  custom: {
    50: '#7bcf7c',
    500: '#2ab843',
    950: '#000000',
  },
}
SCSS
$custom: #2ab843;
$custom-light: #7bcf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab843",
  "rgb": {
    "r": 42,
    "g": 184,
    "b": 67
  },
  "hsl": {
    "h": 130.563,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68606,
    "c": 0.19658,
    "h": 145.5
  },
  "luminance": 0.35178
}

Semantic roles & 50–950 ramp

primary
#2AB843
secondary
#C975BA
accent
#42C9E6
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2AB843

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

Preview Lab → · Contrast checker → · Palette generator →

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