#2B7120#2B7120

#2B7120 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.135 H 141.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2B7120
RGBrgb(43, 113, 32)
HSLhsl(112, 56%, 28%)
HSVhsv(112, 72%, 44%)
CMYKcmyk(61.9%, 0%, 71.7%, 55.7%)
CIE-LABlab(41.89, -38.33, 36.90)
CIE-LCHlch(41.89, 53.21, 136.09°)
OKLaboklab(48.63% -0.1048 0.0845)
OKLCHoklch(48.63% 0.135 141.1)
XYZxyz(7.1618, 12.4275, 3.3876)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7120 #662071
analogous
#537120 #2B7120 #20713D
triadic
#2B7120 #202B71 #71202B
tetradic
#2B7120 #205371 #662071 #713D20
square
#2B7120 #205371 #662071 #713D20
split-complementary
#2B7120 #3D2071 #712053
monochromatic
#091807 #194112 #2B7120 #3DA12E #54C942

Accessibility & contrast

On white

6.02
#2B7120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2B7120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7120
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7120#FFFFFF#000000##FFFFFF
##2B71201.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746614
Deuteranopia (green-blind)
#6B6128
Tritanopia (blue-blind)
#216D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b7120;
/* rgb */ color: rgb(43, 113, 32);
/* oklch */ color: oklch(48.6% 0.135 141.1);
Tailwind
colors: {
  custom: {
    50: '#6d9a60',
    500: '#2b7120',
    950: '#000000',
  },
}
SCSS
$custom: #2b7120;
$custom-light: #6d9a60;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7120",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 32
  },
  "hsl": {
    "h": 111.852,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48631,
    "c": 0.13461,
    "h": 141.1
  },
  "luminance": 0.12428
}

Semantic roles & 50–950 ramp

primary
#2B7120
secondary
#9848A5
accent
#49DFCB
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B7120

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

Preview Lab → · Contrast checker → · Palette generator →

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