#2AB126#2AB126

#2AB126 is a light, highly saturated green. Relative luminance 0.321; OKLCH L 66.5% C 0.207 H 142.5°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2AB126
RGBrgb(42, 177, 38)
HSLhsl(118, 65%, 42%)
HSVhsv(118, 79%, 69%)
CMYKcmyk(76.3%, 0%, 78.5%, 30.6%)
CIE-LABlab(63.40, -60.41, 56.30)
CIE-LCHlch(63.40, 82.58, 137.01°)
OKLaboklab(66.48% -0.1641 0.1259)
OKLCHoklch(66.48% 0.207 142.5)
XYZxyz(17.0258, 32.0745, 7.1270)
Luminance0.3208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB126 #AD26B1
analogous
#70B126 #2AB126 #26B167
triadic
#2AB126 #262AB1 #B1262A
tetradic
#2AB126 #2670B1 #AD26B1 #B16726
square
#2AB126 #2670B1 #AD26B1 #B16726
split-complementary
#2AB126 #6726B1 #B12670
monochromatic
#124C10 #1E7F1B #2AB126 #43D63F #74E071

Accessibility & contrast

On white

2.83
#2AB126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#2AB126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB126
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB126#FFFFFF#000000##000000
##2AB1261.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#A69636
Tritanopia (blue-blind)
#00AC97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #2ab126;
/* rgb */ color: rgb(42, 177, 38);
/* oklch */ color: oklch(66.5% 0.207 142.5);
Tailwind
colors: {
  custom: {
    50: '#7bca6b',
    500: '#2ab126',
    950: '#000000',
  },
}
SCSS
$custom: #2ab126;
$custom-light: #7bca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab126",
  "rgb": {
    "r": 42,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 118.273,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66477,
    "c": 0.20684,
    "h": 142.5
  },
  "luminance": 0.32076
}

Semantic roles & 50–950 ramp

primary
#2AB126
secondary
#C56BC7
accent
#40E8E3
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2AB126

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

Preview Lab → · Contrast checker → · Palette generator →

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