#2B8D38#2B8D38

#2B8D38 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.152 H 145.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2B8D38
RGBrgb(43, 141, 56)
HSLhsl(128, 53%, 36%)
HSVhsv(128, 70%, 55%)
CMYKcmyk(69.5%, 0%, 60.3%, 44.7%)
CIE-LABlab(51.66, -46.28, 36.62)
CIE-LCHlch(51.66, 59.02, 141.64°)
OKLaboklab(56.79% -0.1251 0.0865)
OKLCHoklch(56.79% 0.152 145.3)
XYZxyz(11.2342, 19.8477, 6.9795)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8D38 #8D2B80
analogous
#4F8D2B #2B8D38 #2B8D69
triadic
#2B8D38 #382B8D #8D382B
tetradic
#2B8D38 #2B4F8D #8D2B80 #8D692B
square
#2B8D38 #2B4F8D #8D2B80 #8D692B
split-complementary
#2B8D38 #692B8D #8D2B4F
monochromatic
#0E2F13 #1D5E25 #2B8D38 #39BC4B #63CF71

Accessibility & contrast

On white

4.23
#2B8D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#2B8D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8D38
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8D38#FFFFFF#000000##000000
##2B8D381.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802F
Deuteranopia (green-blind)
#84783F
Tritanopia (blue-blind)
#09897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b8d38;
/* rgb */ color: rgb(43, 141, 56);
/* oklch */ color: oklch(56.8% 0.152 145.3);
Tailwind
colors: {
  custom: {
    50: '#72af71',
    500: '#2b8d38',
    950: '#000000',
  },
}
SCSS
$custom: #2b8d38;
$custom-light: #72af71;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8d38",
  "rgb": {
    "r": 43,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 127.959,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56789,
    "c": 0.15207,
    "h": 145.3
  },
  "luminance": 0.19849
}

Semantic roles & 50–950 ramp

primary
#2B8D38
secondary
#B65EAA
accent
#4BC9DD
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2B8D38

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

Preview Lab → · Contrast checker → · Palette generator →

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