#2BA02A#2BA02A

#2BA02A is a mid, vivid green. Relative luminance 0.258; OKLCH L 61.9% C 0.186 H 142.8°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#2BA02A
RGBrgb(43, 160, 42)
HSLhsl(119, 58%, 40%)
HSVhsv(119, 74%, 63%)
CMYKcmyk(73.1%, 0%, 73.8%, 37.3%)
CIE-LABlab(57.87, -54.43, 49.44)
CIE-LCHlch(57.87, 73.54, 137.75°)
OKLaboklab(61.89% -0.1478 0.1121)
OKLCHoklch(61.89% 0.186 142.8)
XYZxyz(13.9841, 25.8208, 6.4370)
Luminance0.2582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BA02A #9F2AA0
analogous
#66A02A #2BA02A #2AA064
triadic
#2BA02A #2A2BA0 #A02A2B
tetradic
#2BA02A #2A66A0 #9F2AA0 #A0642A
square
#2BA02A #2A66A0 #9F2AA0 #A0642A
split-complementary
#2BA02A #642AA0 #A02A66
monochromatic
#113F11 #1E701D #2BA02A #3DCC3C #6DD86C

Accessibility & contrast

On white

3.41
#2BA02A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#2BA02A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2BA02A
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2BA02A#FFFFFF#000000##000000
##2BA02A1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49115
Deuteranopia (green-blind)
#968836
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2ba02a;
/* rgb */ color: rgb(43, 160, 42);
/* oklch */ color: oklch(61.9% 0.186 142.8);
Tailwind
colors: {
  custom: {
    50: '#77bd6b',
    500: '#2ba02a',
    950: '#000000',
  },
}
SCSS
$custom: #2ba02a;
$custom-light: #77bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2ba02a",
  "rgb": {
    "r": 43,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 119.492,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61889,
    "c": 0.18551,
    "h": 142.8
  },
  "luminance": 0.25822
}

Semantic roles & 50–950 ramp

primary
#2BA02A
secondary
#BE67BF
accent
#46E2E0
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2BA02A

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

Preview Lab → · Contrast checker → · Palette generator →

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