#2B8945#2B8945

#2B8945 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.9% C 0.135 H 148.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2B8945
RGBrgb(43, 137, 69)
HSLhsl(137, 52%, 35%)
HSVhsv(137, 69%, 54%)
CMYKcmyk(68.6%, 0%, 49.6%, 46.3%)
CIE-LABlab(50.49, -42.83, 28.55)
CIE-LCHlch(50.49, 51.47, 146.31°)
OKLaboklab(55.87% -0.1154 0.0695)
OKLCHoklch(55.87% 0.135 148.9)
XYZxyz(11.0153, 18.8334, 8.6838)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8945 #892B6F
analogous
#40892B #2B8945 #2B8974
triadic
#2B8945 #452B89 #89452B
tetradic
#2B8945 #2B4089 #892B6F #89742B
square
#2B8945 #2B4089 #892B6F #89742B
split-complementary
#2B8945 #742B89 #892B40
monochromatic
#0E2C16 #1C5A2E #2B8945 #3AB85C #61CD7F

Accessibility & contrast

On white

4.41
#2B8945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2B8945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8945
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8945#FFFFFF#000000##000000
##2B89451.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D3F
Deuteranopia (green-blind)
#7F754A
Tritanopia (blue-blind)
#028679
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b8945;
/* rgb */ color: rgb(43, 137, 69);
/* oklch */ color: oklch(55.9% 0.135 148.9);
Tailwind
colors: {
  custom: {
    50: '#71ac7a',
    500: '#2b8945',
    950: '#000000',
  },
}
SCSS
$custom: #2b8945;
$custom-light: #71ac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8945",
  "rgb": {
    "r": 43,
    "g": 137,
    "b": 69
  },
  "hsl": {
    "h": 136.596,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55874,
    "c": 0.13477,
    "h": 148.9
  },
  "luminance": 0.18835
}

Semantic roles & 50–950 ramp

primary
#2B8945
secondary
#B35C9B
accent
#4CB4DC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2B8945

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

Preview Lab → · Contrast checker → · Palette generator →

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