#2BA240#2BA240

#2BA240 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.7% C 0.172 H 145.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#2BA240
RGBrgb(43, 162, 64)
HSLhsl(131, 58%, 40%)
HSVhsv(131, 73%, 64%)
CMYKcmyk(73.5%, 0%, 60.5%, 36.5%)
CIE-LABlab(58.72, -52.81, 40.98)
CIE-LCHlch(58.72, 66.85, 142.19°)
OKLaboklab(62.66% -0.1424 0.0966)
OKLCHoklch(62.66% 0.172 145.9)
XYZxyz(14.8410, 26.7227, 9.2254)
Luminance0.2672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BA240 #A22B8D
analogous
#52A22B #2BA240 #2BA27B
triadic
#2BA240 #402BA2 #A2402B
tetradic
#2BA240 #2B52A2 #A22B8D #A27B2B
square
#2BA240 #2B52A2 #A22B8D #A27B2B
split-complementary
#2BA240 #7B2BA2 #A22B52
monochromatic
#11411A #1E722D #2BA240 #3ECC57 #6FD981

Accessibility & contrast

On white

3.31
#2BA240 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#2BA240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2BA240
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2BA240#FFFFFF#000000##000000
##2BA2401.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49336
Deuteranopia (green-blind)
#978A48
Tritanopia (blue-blind)
#009E8D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2ba240;
/* rgb */ color: rgb(43, 162, 64);
/* oklch */ color: oklch(62.7% 0.172 145.9);
Tailwind
colors: {
  custom: {
    50: '#77bf78',
    500: '#2ba240',
    950: '#000000',
  },
}
SCSS
$custom: #2ba240;
$custom-light: #77bf78;
$custom-dark: #000000;
JSON
{
  "hex": "#2ba240",
  "rgb": {
    "r": 43,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 130.588,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.62656,
    "c": 0.17212,
    "h": 145.9
  },
  "luminance": 0.26724
}

Semantic roles & 50–950 ramp

primary
#2BA240
secondary
#C069B0
accent
#47C6E1
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2BA240

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

Preview Lab → · Contrast checker → · Palette generator →

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