#2AB945#2AB945

#2AB945 is a light, vivid green. Relative luminance 0.356; OKLCH L 68.9% C 0.196 H 145.7°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2AB945
RGBrgb(42, 185, 69)
HSLhsl(131, 63%, 45%)
HSVhsv(131, 77%, 73%)
CMYKcmyk(77.3%, 0%, 62.7%, 27.5%)
CIE-LABlab(66.23, -60.15, 47.28)
CIE-LCHlch(66.23, 76.51, 141.83°)
OKLaboklab(68.9% -0.1621 0.1106)
OKLCHoklch(68.9% 0.196 145.7)
XYZxyz(19.3766, 35.6175, 11.4827)
Luminance0.3562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB945 #B92A9E
analogous
#56B92A #2AB945 #2AB98D
triadic
#2AB945 #452AB9 #B9452A
tetradic
#2AB945 #2A56B9 #B92A9E #B98D2A
square
#2AB945 #2A56B9 #B92A9E #B98D2A
split-complementary
#2AB945 #8D2AB9 #B92A56
monochromatic
#135520 #1F8732 #2AB945 #4AD665 #7CE18F

Accessibility & contrast

On white

2.58
#2AB945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#2AB945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB945
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB945#FFFFFF#000000##000000
##2AB9451.002.588.128.12
#FFFFFF2.581.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA838
Deuteranopia (green-blind)
#AC9D4F
Tritanopia (blue-blind)
#00B4A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #2ab945;
/* rgb */ color: rgb(42, 185, 69);
/* oklch */ color: oklch(68.9% 0.196 145.7);
Tailwind
colors: {
  custom: {
    50: '#7bcf7d',
    500: '#2ab945',
    950: '#000000',
  },
}
SCSS
$custom: #2ab945;
$custom-light: #7bcf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab945",
  "rgb": {
    "r": 42,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 131.329,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68895,
    "c": 0.19625,
    "h": 145.7
  },
  "luminance": 0.3562
}

Semantic roles & 50–950 ramp

primary
#2AB945
secondary
#CA75BA
accent
#42C7E6
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2AB945

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

Preview Lab → · Contrast checker → · Palette generator →

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