#2B7722#2B7722

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

Color values

HEX#2B7722
RGBrgb(43, 119, 34)
HSLhsl(114, 56%, 30%)
HSVhsv(114, 71%, 47%)
CMYKcmyk(63.9%, 0%, 71.4%, 53.3%)
CIE-LABlab(43.98, -40.49, 38.25)
CIE-LCHlch(43.98, 55.69, 136.63°)
OKLaboklab(50.36% -0.1105 0.0876)
OKLCHoklch(50.36% 0.141 141.6)
XYZxyz(7.8814, 13.8220, 3.7656)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7722 #6E2277
analogous
#567722 #2B7722 #227743
triadic
#2B7722 #222B77 #77222B
tetradic
#2B7722 #225677 #6E2277 #774322
square
#2B7722 #225677 #6E2277 #774322
split-complementary
#2B7722 #432277 #772256
monochromatic
#091807 #1A4714 #2B7722 #3CA730 #56CB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7722#FFFFFF#000000##FFFFFF
##2B77221.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)
#7A6C16
Deuteranopia (green-blind)
#71662A
Tritanopia (blue-blind)
#1E7366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2b7722;
/* rgb */ color: rgb(43, 119, 34);
/* oklch */ color: oklch(50.4% 0.141 141.6);
Tailwind
colors: {
  custom: {
    50: '#6e9f62',
    500: '#2b7722',
    950: '#000000',
  },
}
SCSS
$custom: #2b7722;
$custom-light: #6e9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7722",
  "rgb": {
    "r": 43,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 113.647,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.50362,
    "c": 0.141,
    "h": 141.6
  },
  "luminance": 0.13823
}

Semantic roles & 50–950 ramp

primary
#2B7722
secondary
#A04BAA
accent
#49DFCF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2B7722

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

Preview Lab → · Contrast checker → · Palette generator →

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