#2B8740#2B8740

#2B8740 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.137 H 147.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2B8740
RGBrgb(43, 135, 64)
HSLhsl(134, 52%, 35%)
HSVhsv(134, 68%, 53%)
CMYKcmyk(68.1%, 0%, 52.6%, 47.1%)
CIE-LABlab(49.75, -42.85, 30.28)
CIE-LCHlch(49.75, 52.47, 144.76°)
OKLaboklab(55.24% -0.1156 0.0731)
OKLCHoklch(55.24% 0.137 147.7)
XYZxyz(10.5849, 18.2106, 7.8067)
Luminance0.1821 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8740 #872B72
analogous
#44872B #2B8740 #2B876E
triadic
#2B8740 #402B87 #87402B
tetradic
#2B8740 #2B4487 #872B72 #876E2B
square
#2B8740 #2B4487 #872B72 #876E2B
split-complementary
#2B8740 #6E2B87 #872B44
monochromatic
#0D2A14 #1C592A #2B8740 #3AB556 #60CC79

Accessibility & contrast

On white

4.52
#2B8740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2B8740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8740
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8740#FFFFFF#000000##000000
##2B87401.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B3A
Deuteranopia (green-blind)
#7D7345
Tritanopia (blue-blind)
#088477
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2b8740;
/* rgb */ color: rgb(43, 135, 64);
/* oklch */ color: oklch(55.2% 0.137 147.7);
Tailwind
colors: {
  custom: {
    50: '#70ab76',
    500: '#2b8740',
    950: '#000000',
  },
}
SCSS
$custom: #2b8740;
$custom-light: #70ab76;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8740",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 64
  },
  "hsl": {
    "h": 133.696,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55239,
    "c": 0.13678,
    "h": 147.7
  },
  "luminance": 0.18212
}

Semantic roles & 50–950 ramp

primary
#2B8740
secondary
#B25B9F
accent
#4DBBDB
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2B8740

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

Preview Lab → · Contrast checker → · Palette generator →

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