#2B7622#2B7622

#2B7622 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.140 H 141.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2B7622
RGBrgb(43, 118, 34)
HSLhsl(114, 55%, 30%)
HSVhsv(114, 71%, 46%)
CMYKcmyk(63.6%, 0%, 71.2%, 53.7%)
CIE-LABlab(43.63, -40.10, 37.88)
CIE-LCHlch(43.63, 55.16, 136.63°)
OKLaboklab(50.08% -0.1094 0.0868)
OKLCHoklch(50.08% 0.14 141.6)
XYZxyz(7.7630, 13.5852, 3.7262)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7622 #6D2276
analogous
#557622 #2B7622 #227643
triadic
#2B7622 #222B76 #76222B
tetradic
#2B7622 #225576 #6D2276 #764322
square
#2B7622 #225576 #6D2276 #764322
split-complementary
#2B7622 #432276 #762255
monochromatic
#091807 #1A4614 #2B7622 #3CA630 #56CA48

Accessibility & contrast

On white

5.65
#2B7622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2B7622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7622
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7622#FFFFFF#000000##FFFFFF
##2B76221.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B16
Deuteranopia (green-blind)
#70652A
Tritanopia (blue-blind)
#1F7265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2b7622;
/* rgb */ color: rgb(43, 118, 34);
/* oklch */ color: oklch(50.1% 0.140 141.6);
Tailwind
colors: {
  custom: {
    50: '#6e9e62',
    500: '#2b7622',
    950: '#000000',
  },
}
SCSS
$custom: #2b7622;
$custom-light: #6e9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7622",
  "rgb": {
    "r": 43,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 113.571,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50077,
    "c": 0.13969,
    "h": 141.6
  },
  "luminance": 0.13586
}

Semantic roles & 50–950 ramp

primary
#2B7622
secondary
#9F4BA9
accent
#49DFCF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2B7622

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

Preview Lab → · Contrast checker → · Palette generator →

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