#2B8124#2B8124

#2B8124 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.152 H 142.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2B8124
RGBrgb(43, 129, 36)
HSLhsl(115, 56%, 32%)
HSVhsv(115, 72%, 51%)
CMYKcmyk(66.7%, 0%, 72.1%, 49.4%)
CIE-LABlab(47.42, -44.08, 41.02)
CIE-LCHlch(47.42, 60.21, 137.06°)
OKLaboklab(53.21% -0.1201 0.0937)
OKLCHoklch(53.21% 0.152 142)
XYZxyz(9.1645, 16.3406, 4.3398)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8124 #7A2481
analogous
#5A8124 #2B8124 #24814C
triadic
#2B8124 #242B81 #81242B
tetradic
#2B8124 #245A81 #7A2481 #814C24
square
#2B8124 #245A81 #7A2481 #814C24
split-complementary
#2B8124 #4C2481 #81245A
monochromatic
#0B2109 #1B5117 #2B8124 #3BB131 #5ACE51

Accessibility & contrast

On white

4.92
#2B8124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2B8124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8124
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8124#FFFFFF#000000##FFFFFF
##2B81241.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847516
Deuteranopia (green-blind)
#7A6E2D
Tritanopia (blue-blind)
#1A7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b8124;
/* rgb */ color: rgb(43, 129, 36);
/* oklch */ color: oklch(53.2% 0.152 142.0);
Tailwind
colors: {
  custom: {
    50: '#70a664',
    500: '#2b8124',
    950: '#000000',
  },
}
SCSS
$custom: #2b8124;
$custom-light: #70a664;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8124",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 115.484,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53214,
    "c": 0.15231,
    "h": 142
  },
  "luminance": 0.16341
}

Semantic roles & 50–950 ramp

primary
#2B8124
secondary
#AB4EB2
accent
#48E0D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B8124

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

Preview Lab → · Contrast checker → · Palette generator →

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