#2B8122#2B8122

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

Color values

HEX#2B8122
RGBrgb(43, 129, 34)
HSLhsl(114, 58%, 32%)
HSVhsv(114, 74%, 51%)
CMYKcmyk(66.7%, 0%, 73.6%, 49.4%)
CIE-LABlab(47.40, -44.26, 41.83)
CIE-LCHlch(47.40, 60.90, 136.62°)
OKLaboklab(53.2% -0.1207 0.0951)
OKLCHoklch(53.2% 0.154 141.8)
XYZxyz(9.1348, 16.3287, 4.1834)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8122 #782281
analogous
#5B8122 #2B8122 #228149
triadic
#2B8122 #222B81 #81222B
tetradic
#2B8122 #225B81 #782281 #814922
square
#2B8122 #225B81 #782281 #814922
split-complementary
#2B8122 #492281 #81225B
monochromatic
#0B2008 #1B5115 #2B8122 #3BB12F #5AD04D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8122#FFFFFF#000000##FFFFFF
##2B81221.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)
#847512
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#1A7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b8122;
/* rgb */ color: rgb(43, 129, 34);
/* oklch */ color: oklch(53.2% 0.154 141.8);
Tailwind
colors: {
  custom: {
    50: '#71a663',
    500: '#2b8122',
    950: '#000000',
  },
}
SCSS
$custom: #2b8122;
$custom-light: #71a663;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8122",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 114.316,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53196,
    "c": 0.15366,
    "h": 141.8
  },
  "luminance": 0.1633
}

Semantic roles & 50–950 ramp

primary
#2B8122
secondary
#AA4BB3
accent
#46E1D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B8122

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

Preview Lab → · Contrast checker → · Palette generator →

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