#2BA02B#2BA02B

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

Color values

HEX#2BA02B
RGBrgb(43, 160, 43)
HSLhsl(120, 58%, 40%)
HSVhsv(120, 73%, 63%)
CMYKcmyk(73.1%, 0%, 73.1%, 37.3%)
CIE-LABlab(57.87, -54.35, 49.07)
CIE-LCHlch(57.87, 73.22, 137.92°)
OKLaboklab(61.9% -0.1475 0.1115)
OKLCHoklch(61.9% 0.185 142.9)
XYZxyz(14.0023, 25.8281, 6.5324)
Luminance0.2583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BA02B #A02BA0
analogous
#66A02B #2BA02B #2BA066
triadic
#2BA02B #2B2BA0 #A02B2B
tetradic
#2BA02B #2B66A0 #A02BA0 #A0662B
square
#2BA02B #2B66A0 #A02BA0 #A0662B
split-complementary
#2BA02B #662BA0 #A02B66
monochromatic
#114011 #1E701E #2BA02B #3DCB3D #6ED86E

Accessibility & contrast

On white

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

On black

6.17
#2BA02B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2BA02B
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2BA02B#FFFFFF#000000##000000
##2BA02B1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2ba02b;
/* rgb */ color: rgb(43, 160, 43);
/* oklch */ color: oklch(61.9% 0.185 142.9);
Tailwind
colors: {
  custom: {
    50: '#77bd6c',
    500: '#2ba02b',
    950: '#000000',
  },
}
SCSS
$custom: #2ba02b;
$custom-light: #77bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2ba02b",
  "rgb": {
    "r": 43,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 120,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61897,
    "c": 0.1849,
    "h": 142.9
  },
  "luminance": 0.2583
}

Semantic roles & 50–950 ramp

primary
#2BA02B
secondary
#BF68BF
accent
#47E1E1
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2BA02B

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

Preview Lab → · Contrast checker → · Palette generator →

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