#2B8738#2B8738

#2B8738 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.144 H 145.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2B8738
RGBrgb(43, 135, 56)
HSLhsl(128, 52%, 35%)
HSVhsv(128, 68%, 53%)
CMYKcmyk(68.1%, 0%, 58.5%, 47.1%)
CIE-LABlab(49.65, -44.02, 34.26)
CIE-LCHlch(49.65, 55.78, 142.11°)
OKLaboklab(55.12% -0.119 0.0814)
OKLCHoklch(55.12% 0.144 145.6)
XYZxyz(10.3734, 18.1260, 6.6926)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8738 #872B7A
analogous
#4C872B #2B8738 #2B8766
triadic
#2B8738 #382B87 #87382B
tetradic
#2B8738 #2B4C87 #872B7A #87662B
square
#2B8738 #2B4C87 #872B7A #87662B
split-complementary
#2B8738 #662B87 #872B4C
monochromatic
#0D2A11 #1C5925 #2B8738 #3AB54B #60CC6F

Accessibility & contrast

On white

4.54
#2B8738 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2B8738 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8738
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8738#FFFFFF#000000##000000
##2B87381.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B30
Deuteranopia (green-blind)
#7E733E
Tritanopia (blue-blind)
#0F8476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2b8738;
/* rgb */ color: rgb(43, 135, 56);
/* oklch */ color: oklch(55.1% 0.144 145.6);
Tailwind
colors: {
  custom: {
    50: '#71ab71',
    500: '#2b8738',
    950: '#000000',
  },
}
SCSS
$custom: #2b8738;
$custom-light: #71ab71;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8738",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 56
  },
  "hsl": {
    "h": 128.478,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55122,
    "c": 0.14414,
    "h": 145.6
  },
  "luminance": 0.18127
}

Semantic roles & 50–950 ramp

primary
#2B8738
secondary
#B25BA6
accent
#4DC7DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2B8738

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

Preview Lab → · Contrast checker → · Palette generator →

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