#2B7221#2B7221

#2B7221 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.135 H 141.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2B7221
RGBrgb(43, 114, 33)
HSLhsl(113, 55%, 29%)
HSVhsv(113, 71%, 45%)
CMYKcmyk(62.3%, 0%, 71.1%, 55.3%)
CIE-LABlab(42.24, -38.63, 36.84)
CIE-LCHlch(42.24, 53.38, 136.36°)
OKLaboklab(48.93% -0.1055 0.0845)
OKLCHoklch(48.93% 0.135 141.3)
XYZxyz(7.2877, 12.6574, 3.4976)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7221 #682172
analogous
#547221 #2B7221 #217240
triadic
#2B7221 #212B72 #72212B
tetradic
#2B7221 #215472 #682172 #724021
square
#2B7221 #215472 #682172 #724021
split-complementary
#2B7221 #402172 #722154
monochromatic
#091807 #194313 #2B7221 #3DA12F #55C944

Accessibility & contrast

On white

5.95
#2B7221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2B7221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7221
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7221#FFFFFF#000000##FFFFFF
##2B72211.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756716
Deuteranopia (green-blind)
#6C6128
Tritanopia (blue-blind)
#206E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b7221;
/* rgb */ color: rgb(43, 114, 33);
/* oklch */ color: oklch(48.9% 0.135 141.3);
Tailwind
colors: {
  custom: {
    50: '#6d9b61',
    500: '#2b7221',
    950: '#000000',
  },
}
SCSS
$custom: #2b7221;
$custom-light: #6d9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7221",
  "rgb": {
    "r": 43,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 112.593,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48927,
    "c": 0.13519,
    "h": 141.3
  },
  "luminance": 0.12658
}

Semantic roles & 50–950 ramp

primary
#2B7221
secondary
#9A49A5
accent
#49DECC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B7221

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

Preview Lab → · Contrast checker → · Palette generator →

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