#2B7220#2B7220

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

Color values

HEX#2B7220
RGBrgb(43, 114, 32)
HSLhsl(112, 56%, 29%)
HSVhsv(112, 72%, 45%)
CMYKcmyk(62.3%, 0%, 71.9%, 55.3%)
CIE-LABlab(42.23, -38.73, 37.27)
CIE-LCHlch(42.23, 53.75, 136.10°)
OKLaboklab(48.92% -0.1058 0.0853)
OKLCHoklch(48.92% 0.136 141.1)
XYZxyz(7.2739, 12.6518, 3.4249)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7220 #672072
analogous
#547220 #2B7220 #20723E
triadic
#2B7220 #202B72 #72202B
tetradic
#2B7220 #205472 #672072 #723E20
square
#2B7220 #205472 #672072 #723E20
split-complementary
#2B7220 #3E2072 #722054
monochromatic
#091807 #194213 #2B7220 #3DA22D #55CA42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7220#FFFFFF#000000##FFFFFF
##2B72201.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)
#756714
Deuteranopia (green-blind)
#6C6128
Tritanopia (blue-blind)
#216E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b7220;
/* rgb */ color: rgb(43, 114, 32);
/* oklch */ color: oklch(48.9% 0.136 141.1);
Tailwind
colors: {
  custom: {
    50: '#6d9b60',
    500: '#2b7220',
    950: '#000000',
  },
}
SCSS
$custom: #2b7220;
$custom-light: #6d9b60;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7220",
  "rgb": {
    "r": 43,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 111.951,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48917,
    "c": 0.13592,
    "h": 141.1
  },
  "luminance": 0.12653
}

Semantic roles & 50–950 ramp

primary
#2B7220
secondary
#9948A6
accent
#48DFCB
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B7220

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

Preview Lab → · Contrast checker → · Palette generator →

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