#2AB946#2AB946

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

Color values

HEX#2AB946
RGBrgb(42, 185, 70)
HSLhsl(132, 63%, 45%)
HSVhsv(132, 77%, 73%)
CMYKcmyk(77.3%, 0%, 62.2%, 27.5%)
CIE-LABlab(66.24, -60.04, 46.85)
CIE-LCHlch(66.24, 76.15, 142.04°)
OKLaboklab(68.91% -0.1618 0.1098)
OKLCHoklch(68.91% 0.195 145.8)
XYZxyz(19.4079, 35.6301, 11.6476)
Luminance0.3563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB946 #B92A9D
analogous
#56B92A #2AB946 #2AB98E
triadic
#2AB946 #462AB9 #B9462A
tetradic
#2AB946 #2A56B9 #B92A9D #B98E2A
square
#2AB946 #2A56B9 #B92A9D #B98E2A
split-complementary
#2AB946 #8E2AB9 #B92A56
monochromatic
#135520 #1F8733 #2AB946 #4AD666 #7CE190

Accessibility & contrast

On white

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

On black

8.13
#2AB946 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB946
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB946#FFFFFF#000000##000000
##2AB9461.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA839
Deuteranopia (green-blind)
#AC9D50
Tritanopia (blue-blind)
#00B4A1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #2ab946;
/* rgb */ color: rgb(42, 185, 70);
/* oklch */ color: oklch(68.9% 0.195 145.8);
Tailwind
colors: {
  custom: {
    50: '#7bcf7e',
    500: '#2ab946',
    950: '#000000',
  },
}
SCSS
$custom: #2ab946;
$custom-light: #7bcf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab946",
  "rgb": {
    "r": 42,
    "g": 185,
    "b": 70
  },
  "hsl": {
    "h": 131.748,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68906,
    "c": 0.19549,
    "h": 145.8
  },
  "luminance": 0.35632
}

Semantic roles & 50–950 ramp

primary
#2AB946
secondary
#CA75B9
accent
#42C6E6
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2AB946

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

Preview Lab → · Contrast checker → · Palette generator →

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