#2B8342#2B8342

#2B8342 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.2% C 0.129 H 148.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2B8342
RGBrgb(43, 131, 66)
HSLhsl(136, 51%, 34%)
HSVhsv(136, 67%, 51%)
CMYKcmyk(67.2%, 0%, 49.6%, 48.6%)
CIE-LABlab(48.43, -40.94, 27.57)
CIE-LCHlch(48.43, 49.36, 146.04°)
OKLaboklab(54.16% -0.1104 0.0672)
OKLCHoklch(54.16% 0.129 148.7)
XYZxyz(10.0952, 17.1385, 7.9292)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8342 #832B6C
analogous
#40832B #2B8342 #2B836E
triadic
#2B8342 #422B83 #83422B
tetradic
#2B8342 #2B4083 #832B6C #836E2B
square
#2B8342 #2B4083 #832B6C #836E2B
split-complementary
#2B8342 #6E2B83 #832B40
monochromatic
#0D2714 #1C552B #2B8342 #3AB159 #5ECA7A

Accessibility & contrast

On white

4.74
#2B8342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2B8342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8342
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8342#FFFFFF#000000##FFFFFF
##2B83421.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84783D
Deuteranopia (green-blind)
#797047
Tritanopia (blue-blind)
#0A8074
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b8342;
/* rgb */ color: rgb(43, 131, 66);
/* oklch */ color: oklch(54.2% 0.129 148.7);
Tailwind
colors: {
  custom: {
    50: '#6fa877',
    500: '#2b8342',
    950: '#000000',
  },
}
SCSS
$custom: #2b8342;
$custom-light: #6fa877;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8342",
  "rgb": {
    "r": 43,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 135.682,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54163,
    "c": 0.12927,
    "h": 148.7
  },
  "luminance": 0.1714
}

Semantic roles & 50–950 ramp

primary
#2B8342
secondary
#B05A9A
accent
#4EB5DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2B8342

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

Preview Lab → · Contrast checker → · Palette generator →

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