#2B7720#2B7720

#2B7720 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.142 H 141.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2B7720
RGBrgb(43, 119, 32)
HSLhsl(112, 58%, 30%)
HSVhsv(112, 73%, 47%)
CMYKcmyk(63.9%, 0%, 73.1%, 53.3%)
CIE-LABlab(43.96, -40.67, 39.08)
CIE-LCHlch(43.96, 56.41, 136.14°)
OKLaboklab(50.34% -0.1111 0.0891)
OKLCHoklch(50.34% 0.142 141.3)
XYZxyz(7.8534, 13.8108, 3.6181)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7720 #6C2077
analogous
#577720 #2B7720 #207741
triadic
#2B7720 #202B77 #77202B
tetradic
#2B7720 #205777 #6C2077 #774120
square
#2B7720 #205777 #6C2077 #774120
split-complementary
#2B7720 #412077 #772057
monochromatic
#091806 #1A4713 #2B7720 #3CA72D #56CD45

Accessibility & contrast

On white

5.58
#2B7720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2B7720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7720
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7720#FFFFFF#000000##FFFFFF
##2B77201.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C12
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#1F7366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2b7720;
/* rgb */ color: rgb(43, 119, 32);
/* oklch */ color: oklch(50.3% 0.142 141.3);
Tailwind
colors: {
  custom: {
    50: '#6f9f61',
    500: '#2b7720',
    950: '#000000',
  },
}
SCSS
$custom: #2b7720;
$custom-light: #6f9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7720",
  "rgb": {
    "r": 43,
    "g": 119,
    "b": 32
  },
  "hsl": {
    "h": 112.414,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50343,
    "c": 0.14241,
    "h": 141.3
  },
  "luminance": 0.13812
}

Semantic roles & 50–950 ramp

primary
#2B7720
secondary
#9E48AA
accent
#47E1CD
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B7720

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

Preview Lab → · Contrast checker → · Palette generator →

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