#2B8837#2B8837

#2B8837 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.146 H 145.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2B8837
RGBrgb(43, 136, 55)
HSLhsl(128, 52%, 35%)
HSVhsv(128, 68%, 53%)
CMYKcmyk(68.4%, 0%, 59.6%, 46.7%)
CIE-LABlab(49.97, -44.54, 35.14)
CIE-LCHlch(49.97, 56.73, 141.73°)
OKLaboklab(55.39% -0.1204 0.0832)
OKLCHoklch(55.39% 0.146 145.3)
XYZxyz(10.4893, 18.3966, 6.6118)
Luminance0.1840 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8837 #882B7C
analogous
#4D882B #2B8837 #2B8865
triadic
#2B8837 #372B88 #88372B
tetradic
#2B8837 #2B4D88 #882B7C #88652B
square
#2B8837 #2B4D88 #882B7C #88652B
split-complementary
#2B8837 #652B88 #882B4D
monochromatic
#0E2B11 #1C5A24 #2B8837 #3AB64A #61CD6E

Accessibility & contrast

On white

4.49
#2B8837 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2B8837 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8837
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8837#FFFFFF#000000##000000
##2B88371.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C2F
Deuteranopia (green-blind)
#7F743D
Tritanopia (blue-blind)
#0F8576
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b8837;
/* rgb */ color: rgb(43, 136, 55);
/* oklch */ color: oklch(55.4% 0.146 145.3);
Tailwind
colors: {
  custom: {
    50: '#71ac70',
    500: '#2b8837',
    950: '#000000',
  },
}
SCSS
$custom: #2b8837;
$custom-light: #71ac70;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8837",
  "rgb": {
    "r": 43,
    "g": 136,
    "b": 55
  },
  "hsl": {
    "h": 127.742,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55387,
    "c": 0.14635,
    "h": 145.3
  },
  "luminance": 0.18398
}

Semantic roles & 50–950 ramp

primary
#2B8837
secondary
#B35CA8
accent
#4CC9DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2B8837

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

Preview Lab → · Contrast checker → · Palette generator →

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