#2BA22F#2BA22F

#2BA22F is a light, vivid green. Relative luminance 0.266; OKLCH L 62.5% C 0.185 H 143.4°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2BA22F
RGBrgb(43, 162, 47)
HSLhsl(122, 58%, 40%)
HSVhsv(122, 73%, 64%)
CMYKcmyk(73.5%, 0%, 71%, 36.5%)
CIE-LABlab(58.56, -54.66, 48.23)
CIE-LCHlch(58.56, 72.90, 138.58°)
OKLaboklab(62.48% -0.1482 0.1102)
OKLCHoklch(62.48% 0.185 143.4)
XYZxyz(14.4288, 26.5579, 7.0545)
Luminance0.2656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BA22F #A22B9E
analogous
#62A22B #2BA22F #2BA26B
triadic
#2BA22F #2F2BA2 #A22F2B
tetradic
#2BA22F #2B62A2 #A22B9E #A26B2B
square
#2BA22F #2B62A2 #A22B9E #A26B2B
split-complementary
#2BA22F #6B2BA2 #A22B62
monochromatic
#114113 #1E7221 #2BA22F #3ECC43 #6FD972

Accessibility & contrast

On white

3.33
#2BA22F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#2BA22F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2BA22F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2BA22F#FFFFFF#000000##000000
##2BA22F1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5931D
Deuteranopia (green-blind)
#98893A
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2ba22f;
/* rgb */ color: rgb(43, 162, 47);
/* oklch */ color: oklch(62.5% 0.185 143.4);
Tailwind
colors: {
  custom: {
    50: '#77bf6e',
    500: '#2ba22f',
    950: '#000000',
  },
}
SCSS
$custom: #2ba22f;
$custom-light: #77bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2ba22f",
  "rgb": {
    "r": 43,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 122.017,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.62479,
    "c": 0.18469,
    "h": 143.4
  },
  "luminance": 0.26559
}

Semantic roles & 50–950 ramp

primary
#2BA22F
secondary
#C069BD
accent
#47DCE1
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2BA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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