#2B8748#2B8748

#2B8748 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.129 H 150.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2B8748
RGBrgb(43, 135, 72)
HSLhsl(139, 52%, 35%)
HSVhsv(139, 68%, 53%)
CMYKcmyk(68.1%, 0%, 46.7%, 47.1%)
CIE-LABlab(49.87, -41.52, 26.15)
CIE-LCHlch(49.87, 49.07, 147.80°)
OKLaboklab(55.38% -0.112 0.0642)
OKLCHoklch(55.38% 0.129 150.2)
XYZxyz(10.8291, 18.3083, 9.0928)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8748 #872B6A
analogous
#3C872B #2B8748 #2B8776
triadic
#2B8748 #482B87 #87482B
tetradic
#2B8748 #2B3C87 #872B6A #87762B
square
#2B8748 #2B3C87 #872B6A #87762B
split-complementary
#2B8748 #762B87 #872B3C
monochromatic
#0D2A16 #1C592F #2B8748 #3AB561 #60CC82

Accessibility & contrast

On white

4.50
#2B8748 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2B8748 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8748
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8748#FFFFFF#000000##000000
##2B87481.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B43
Deuteranopia (green-blind)
#7C734C
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b8748;
/* rgb */ color: rgb(43, 135, 72);
/* oklch */ color: oklch(55.4% 0.129 150.2);
Tailwind
colors: {
  custom: {
    50: '#70ab7c',
    500: '#2b8748',
    950: '#000000',
  },
}
SCSS
$custom: #2b8748;
$custom-light: #70ab7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8748",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 72
  },
  "hsl": {
    "h": 138.913,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55375,
    "c": 0.12904,
    "h": 150.2
  },
  "luminance": 0.18309
}

Semantic roles & 50–950 ramp

primary
#2B8748
secondary
#B25B97
accent
#4DAEDB
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2B8748

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

Preview Lab → · Contrast checker → · Palette generator →

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