#2B8B40#2B8B40

#2B8B40 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.142 H 147.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2B8B40
RGBrgb(43, 139, 64)
HSLhsl(133, 53%, 36%)
HSVhsv(133, 69%, 55%)
CMYKcmyk(69.1%, 0%, 54%, 45.5%)
CIE-LABlab(51.09, -44.40, 31.92)
CIE-LCHlch(51.09, 54.68, 144.28°)
OKLaboklab(56.35% -0.1197 0.0768)
OKLCHoklch(56.35% 0.142 147.3)
XYZxyz(11.1535, 19.3478, 7.9962)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8B40 #8B2B76
analogous
#468B2B #2B8B40 #2B8B70
triadic
#2B8B40 #402B8B #8B402B
tetradic
#2B8B40 #2B468B #8B2B76 #8B702B
square
#2B8B40 #2B468B #8B2B76 #8B702B
split-complementary
#2B8B40 #702B8B #8B2B46
monochromatic
#0E2E15 #1D5C2A #2B8B40 #39BA56 #62CE7A

Accessibility & contrast

On white

4.31
#2B8B40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2B8B40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8B40
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8B40#FFFFFF#000000##000000
##2B8B401.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F39
Deuteranopia (green-blind)
#817746
Tritanopia (blue-blind)
#04887A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2b8b40;
/* rgb */ color: rgb(43, 139, 64);
/* oklch */ color: oklch(56.3% 0.142 147.3);
Tailwind
colors: {
  custom: {
    50: '#71ae76',
    500: '#2b8b40',
    950: '#000000',
  },
}
SCSS
$custom: #2b8b40;
$custom-light: #71ae76;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8b40",
  "rgb": {
    "r": 43,
    "g": 139,
    "b": 64
  },
  "hsl": {
    "h": 133.125,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56347,
    "c": 0.14225,
    "h": 147.3
  },
  "luminance": 0.19349
}

Semantic roles & 50–950 ramp

primary
#2B8B40
secondary
#B55DA1
accent
#4CBDDC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2B8B40

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

Preview Lab → · Contrast checker → · Palette generator →

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