#2AB831#2AB831

#2AB831 is a light, highly saturated green. Relative luminance 0.350; OKLCH L 68.4% C 0.209 H 143.4°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2AB831
RGBrgb(42, 184, 49)
HSLhsl(123, 63%, 44%)
HSVhsv(123, 77%, 72%)
CMYKcmyk(77.2%, 0%, 73.4%, 27.8%)
CIE-LABlab(65.74, -61.80, 54.87)
CIE-LCHlch(65.74, 82.65, 138.40°)
OKLaboklab(68.44% -0.1674 0.1244)
OKLCHoklch(68.44% 0.209 143.4)
XYZxyz(18.6485, 34.9928, 8.6766)
Luminance0.3499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB831 #B82AB1
analogous
#6AB82A #2AB831 #2AB878
triadic
#2AB831 #312AB8 #B8312A
tetradic
#2AB831 #2A6AB8 #B82AB1 #B8782A
square
#2AB831 #2A6AB8 #B82AB1 #B8782A
split-complementary
#2AB831 #782AB8 #B82A6A
monochromatic
#135416 #1F8624 #2AB831 #4AD651 #7BE180

Accessibility & contrast

On white

2.63
#2AB831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#2AB831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB831
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB831#FFFFFF#000000##000000
##2AB8311.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA618
Deuteranopia (green-blind)
#AC9C3F
Tritanopia (blue-blind)
#00B39E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #2ab831;
/* rgb */ color: rgb(42, 184, 49);
/* oklch */ color: oklch(68.4% 0.209 143.4);
Tailwind
colors: {
  custom: {
    50: '#7ccf72',
    500: '#2ab831',
    950: '#000000',
  },
}
SCSS
$custom: #2ab831;
$custom-light: #7ccf72;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab831",
  "rgb": {
    "r": 42,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 122.958,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68442,
    "c": 0.20856,
    "h": 143.4
  },
  "luminance": 0.34995
}

Semantic roles & 50–950 ramp

primary
#2AB831
secondary
#C975C5
accent
#42DEE6
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #2AB831

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

Preview Lab → · Contrast checker → · Palette generator →

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