#2B8345#2B8345

#2B8345 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.126 H 149.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2B8345
RGBrgb(43, 131, 69)
HSLhsl(138, 51%, 34%)
HSVhsv(138, 67%, 51%)
CMYKcmyk(67.2%, 0%, 47.3%, 48.6%)
CIE-LABlab(48.48, -40.43, 26.01)
CIE-LCHlch(48.48, 48.07, 147.25°)
OKLaboklab(54.22% -0.1091 0.0637)
OKLCHoklch(54.22% 0.126 149.7)
XYZxyz(10.1860, 17.1748, 8.4073)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8345 #832B69
analogous
#3D832B #2B8345 #2B8371
triadic
#2B8345 #452B83 #83452B
tetradic
#2B8345 #2B3D83 #832B69 #83712B
square
#2B8345 #2B3D83 #832B69 #83712B
split-complementary
#2B8345 #712B83 #832B3D
monochromatic
#0D2714 #1C552D #2B8345 #3AB15D #5ECA7E

Accessibility & contrast

On white

4.73
#2B8345 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2B8345 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8345
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8345#FFFFFF#000000##FFFFFF
##2B83451.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847840
Deuteranopia (green-blind)
#797049
Tritanopia (blue-blind)
#078174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b8345;
/* rgb */ color: rgb(43, 131, 69);
/* oklch */ color: oklch(54.2% 0.126 149.7);
Tailwind
colors: {
  custom: {
    50: '#6fa879',
    500: '#2b8345',
    950: '#000000',
  },
}
SCSS
$custom: #2b8345;
$custom-light: #6fa879;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8345",
  "rgb": {
    "r": 43,
    "g": 131,
    "b": 69
  },
  "hsl": {
    "h": 137.727,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54215,
    "c": 0.12631,
    "h": 149.7
  },
  "luminance": 0.17176
}

Semantic roles & 50–950 ramp

primary
#2B8345
secondary
#B05A97
accent
#4EB1DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2B8345

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

Preview Lab → · Contrast checker → · Palette generator →

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