#2B8822#2B8822

#2B8822 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.162 H 141.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2B8822
RGBrgb(43, 136, 34)
HSLhsl(115, 60%, 33%)
HSVhsv(115, 75%, 53%)
CMYKcmyk(68.4%, 0%, 75%, 46.7%)
CIE-LABlab(49.78, -46.80, 44.26)
CIE-LCHlch(49.78, 64.42, 136.60°)
OKLaboklab(55.17% -0.1276 0.1002)
OKLCHoklch(55.17% 0.162 141.9)
XYZxyz(10.0886, 18.2364, 4.5014)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8822 #7F2288
analogous
#5E8822 #2B8822 #22884C
triadic
#2B8822 #222B88 #88222B
tetradic
#2B8822 #225E88 #7F2288 #884C22
square
#2B8822 #225E88 #7F2288 #884C22
split-complementary
#2B8822 #4C2288 #88225E
monochromatic
#0C260A #1C5716 #2B8822 #3AB92E #5CD351

Accessibility & contrast

On white

4.52
#2B8822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2B8822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8822
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8822#FFFFFF#000000##000000
##2B88221.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0F
Deuteranopia (green-blind)
#80742D
Tritanopia (blue-blind)
#178474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2b8822;
/* rgb */ color: rgb(43, 136, 34);
/* oklch */ color: oklch(55.2% 0.162 141.9);
Tailwind
colors: {
  custom: {
    50: '#72ac64',
    500: '#2b8822',
    950: '#000000',
  },
}
SCSS
$custom: #2b8822;
$custom-light: #72ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8822",
  "rgb": {
    "r": 43,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 114.706,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55166,
    "c": 0.16221,
    "h": 141.9
  },
  "luminance": 0.18237
}

Semantic roles & 50–950 ramp

primary
#2B8822
secondary
#AE4FB7
accent
#45E3D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8822

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

Preview Lab → · Contrast checker → · Palette generator →

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