#2AB245#2AB245

#2AB245 is a light, vivid green. Relative luminance 0.328; OKLCH L 67.0% C 0.188 H 146.0°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2AB245
RGBrgb(42, 178, 69)
HSLhsl(132, 62%, 43%)
HSVhsv(132, 76%, 70%)
CMYKcmyk(76.4%, 0%, 61.2%, 30.2%)
CIE-LABlab(63.97, -57.83, 44.71)
CIE-LCHlch(63.97, 73.09, 142.29°)
OKLaboklab(67.02% -0.1558 0.1051)
OKLCHoklch(67.02% 0.188 146)
XYZxyz(17.9481, 32.7606, 11.0066)
Luminance0.3276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB245 #B22A97
analogous
#53B22A #2AB245 #2AB289
triadic
#2AB245 #452AB2 #B2452A
tetradic
#2AB245 #2A53B2 #B22A97 #B2892A
square
#2AB245 #2A53B2 #B22A97 #B2892A
split-complementary
#2AB245 #892AB2 #B22A53
monochromatic
#134F1F #1E8032 #2AB245 #46D362 #77DF8C

Accessibility & contrast

On white

2.78
#2AB245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#2AB245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB245
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB245#FFFFFF#000000##000000
##2AB2451.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A139
Deuteranopia (green-blind)
#A5974E
Tritanopia (blue-blind)
#00AE9B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #2ab245;
/* rgb */ color: rgb(42, 178, 69);
/* oklch */ color: oklch(67.0% 0.188 146.0);
Tailwind
colors: {
  custom: {
    50: '#7aca7c',
    500: '#2ab245',
    950: '#000000',
  },
}
SCSS
$custom: #2ab245;
$custom-light: #7aca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab245",
  "rgb": {
    "r": 42,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 131.912,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.6702,
    "c": 0.18794,
    "h": 146
  },
  "luminance": 0.32763
}

Semantic roles & 50–950 ramp

primary
#2AB245
secondary
#C771B6
accent
#43C5E5
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #2AB245

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

Preview Lab → · Contrast checker → · Palette generator →

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