#2B8221#2B8221

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

Color values

HEX#2B8221
RGBrgb(43, 130, 33)
HSLhsl(114, 60%, 32%)
HSVhsv(114, 75%, 51%)
CMYKcmyk(66.9%, 0%, 74.6%, 49%)
CIE-LABlab(47.74, -44.71, 42.57)
CIE-LCHlch(47.74, 61.74, 136.41°)
OKLaboklab(53.47% -0.122 0.0965)
OKLCHoklch(53.47% 0.156 141.6)
XYZxyz(9.2529, 16.5877, 4.1527)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8221 #782182
analogous
#5C8221 #2B8221 #218247
triadic
#2B8221 #212B82 #82212B
tetradic
#2B8221 #215C82 #782182 #824721
square
#2B8221 #215C82 #782182 #824721
split-complementary
#2B8221 #472182 #82215C
monochromatic
#0B2008 #1B5115 #2B8221 #3BB32D #5AD24C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8221#FFFFFF#000000##FFFFFF
##2B82211.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)
#857610
Deuteranopia (green-blind)
#7B6F2B
Tritanopia (blue-blind)
#1A7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b8221;
/* rgb */ color: rgb(43, 130, 33);
/* oklch */ color: oklch(53.5% 0.156 141.6);
Tailwind
colors: {
  custom: {
    50: '#71a763',
    500: '#2b8221',
    950: '#000000',
  },
}
SCSS
$custom: #2b8221;
$custom-light: #71a763;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8221",
  "rgb": {
    "r": 43,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 113.814,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5347,
    "c": 0.15554,
    "h": 141.6
  },
  "luminance": 0.16589
}

Semantic roles & 50–950 ramp

primary
#2B8221
secondary
#AA4AB4
accent
#45E3D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2B8221

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

Preview Lab → · Contrast checker → · Palette generator →

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