#2B8732#2B8732

#2B8732 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.149 H 144.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2B8732
RGBrgb(43, 135, 50)
HSLhsl(125, 52%, 35%)
HSVhsv(125, 68%, 53%)
CMYKcmyk(68.1%, 0%, 63%, 47.1%)
CIE-LABlab(49.58, -44.80, 37.11)
CIE-LCHlch(49.58, 58.17, 140.36°)
OKLaboklab(55.05% -0.1213 0.087)
OKLCHoklch(55.05% 0.149 144.3)
XYZxyz(10.2353, 18.0708, 5.9656)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8732 #872B80
analogous
#52872B #2B8732 #2B8760
triadic
#2B8732 #322B87 #87322B
tetradic
#2B8732 #2B5287 #872B80 #87602B
square
#2B8732 #2B5287 #872B80 #87602B
split-complementary
#2B8732 #602B87 #872B52
monochromatic
#0D2A10 #1C5921 #2B8732 #3AB543 #60CC68

Accessibility & contrast

On white

4.55
#2B8732 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2B8732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8732
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8732#FFFFFF#000000##000000
##2B87321.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B29
Deuteranopia (green-blind)
#7E7339
Tritanopia (blue-blind)
#128375
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2b8732;
/* rgb */ color: rgb(43, 135, 50);
/* oklch */ color: oklch(55.0% 0.149 144.3);
Tailwind
colors: {
  custom: {
    50: '#71ab6d',
    500: '#2b8732',
    950: '#000000',
  },
}
SCSS
$custom: #2b8732;
$custom-light: #71ab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8732",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 50
  },
  "hsl": {
    "h": 124.565,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55045,
    "c": 0.14929,
    "h": 144.3
  },
  "luminance": 0.18072
}

Semantic roles & 50–950 ramp

primary
#2B8732
secondary
#B25BAC
accent
#4DD0DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2B8732

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

Preview Lab → · Contrast checker → · Palette generator →

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