#2B8A37#2B8A37

#2B8A37 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.149 H 145.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2B8A37
RGBrgb(43, 138, 55)
HSLhsl(128, 52%, 35%)
HSVhsv(128, 69%, 54%)
CMYKcmyk(68.8%, 0%, 60.1%, 45.9%)
CIE-LABlab(50.65, -45.29, 35.92)
CIE-LCHlch(50.65, 57.81, 141.58°)
OKLaboklab(55.94% -0.1224 0.0849)
OKLCHoklch(55.94% 0.149 145.3)
XYZxyz(10.7736, 18.9653, 6.7066)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8A37 #8A2B7E
analogous
#4E8A2B #2B8A37 #2B8A66
triadic
#2B8A37 #372B8A #8A372B
tetradic
#2B8A37 #2B4E8A #8A2B7E #8A662B
square
#2B8A37 #2B4E8A #8A2B7E #8A662B
split-complementary
#2B8A37 #662B8A #8A2B4E
monochromatic
#0E2D12 #1C5B24 #2B8A37 #3AB94A #61CE6F

Accessibility & contrast

On white

4.38
#2B8A37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2B8A37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8A37
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8A37#FFFFFF#000000##000000
##2B8A371.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2E
Deuteranopia (green-blind)
#81753E
Tritanopia (blue-blind)
#0D8678
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b8a37;
/* rgb */ color: rgb(43, 138, 55);
/* oklch */ color: oklch(55.9% 0.149 145.3);
Tailwind
colors: {
  custom: {
    50: '#71ad71',
    500: '#2b8a37',
    950: '#000000',
  },
}
SCSS
$custom: #2b8a37;
$custom-light: #71ad71;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8a37",
  "rgb": {
    "r": 43,
    "g": 138,
    "b": 55
  },
  "hsl": {
    "h": 127.579,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55943,
    "c": 0.14899,
    "h": 145.3
  },
  "luminance": 0.18966
}

Semantic roles & 50–950 ramp

primary
#2B8A37
secondary
#B45DA9
accent
#4CCADC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2B8A37

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

Preview Lab → · Contrast checker → · Palette generator →

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