#2BA227#2BA227

#2BA227 is a light, vivid green. Relative luminance 0.265; OKLCH L 62.4% C 0.190 H 142.5°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2BA227
RGBrgb(43, 162, 39)
HSLhsl(118, 61%, 39%)
HSVhsv(118, 76%, 64%)
CMYKcmyk(73.5%, 0%, 75.9%, 36.5%)
CIE-LABlab(58.51, -55.34, 51.18)
CIE-LCHlch(58.51, 75.38, 137.23°)
OKLaboklab(62.42% -0.1504 0.1153)
OKLCHoklch(62.42% 0.19 142.5)
XYZxyz(14.2819, 26.4991, 6.2812)
Luminance0.2650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BA227 #9E27A2
analogous
#69A227 #2BA227 #27A261
triadic
#2BA227 #272BA2 #A2272B
tetradic
#2BA227 #2769A2 #9E27A2 #A26127
square
#2BA227 #2769A2 #9E27A2 #A26127
split-complementary
#2BA227 #6127A2 #A22769
monochromatic
#113F0F #1E711B #2BA227 #3CCF37 #6CDB69

Accessibility & contrast

On white

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

On black

6.30
#2BA227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2BA227
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2BA227#FFFFFF#000000##000000
##2BA2271.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6920D
Deuteranopia (green-blind)
#988934
Tritanopia (blue-blind)
#009D8A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2ba227;
/* rgb */ color: rgb(43, 162, 39);
/* oklch */ color: oklch(62.4% 0.190 142.5);
Tailwind
colors: {
  custom: {
    50: '#78bf6a',
    500: '#2ba227',
    950: '#000000',
  },
}
SCSS
$custom: #2ba227;
$custom-light: #78bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2ba227",
  "rgb": {
    "r": 43,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 118.049,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62416,
    "c": 0.18953,
    "h": 142.5
  },
  "luminance": 0.26501
}

Semantic roles & 50–950 ramp

primary
#2BA227
secondary
#BE64C1
accent
#43E4DF
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2BA227

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

Preview Lab → · Contrast checker → · Palette generator →

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