#2B8222#2B8222

#2B8222 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.155 H 141.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2B8222
RGBrgb(43, 130, 34)
HSLhsl(114, 59%, 32%)
HSVhsv(114, 74%, 51%)
CMYKcmyk(66.9%, 0%, 73.8%, 49%)
CIE-LABlab(47.74, -44.63, 42.18)
CIE-LCHlch(47.74, 61.41, 136.62°)
OKLaboklab(53.48% -0.1217 0.0958)
OKLCHoklch(53.48% 0.155 141.8)
XYZxyz(9.2671, 16.5934, 4.2275)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8222 #792282
analogous
#5B8222 #2B8222 #228249
triadic
#2B8222 #222B82 #82222B
tetradic
#2B8222 #225B82 #792282 #824922
square
#2B8222 #225B82 #792282 #824922
split-complementary
#2B8222 #492282 #82225B
monochromatic
#0B2109 #1B5115 #2B8222 #3BB32F #5AD14E

Accessibility & contrast

On white

4.86
#2B8222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2B8222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8222
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8222#FFFFFF#000000##FFFFFF
##2B82221.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857612
Deuteranopia (green-blind)
#7B6F2C
Tritanopia (blue-blind)
#1A7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b8222;
/* rgb */ color: rgb(43, 130, 34);
/* oklch */ color: oklch(53.5% 0.155 141.8);
Tailwind
colors: {
  custom: {
    50: '#71a763',
    500: '#2b8222',
    950: '#000000',
  },
}
SCSS
$custom: #2b8222;
$custom-light: #71a763;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8222",
  "rgb": {
    "r": 43,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 114.375,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53478,
    "c": 0.1549,
    "h": 141.8
  },
  "luminance": 0.16594
}

Semantic roles & 50–950 ramp

primary
#2B8222
secondary
#AA4CB4
accent
#46E2D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B8222

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

Preview Lab → · Contrast checker → · Palette generator →

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