#2B6722#2B6722

#2B6722 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.8% C 0.119 H 141.2°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2B6722
RGBrgb(43, 103, 34)
HSLhsl(112, 50%, 27%)
HSVhsv(112, 67%, 40%)
CMYKcmyk(58.3%, 0%, 67%, 59.6%)
CIE-LABlab(38.43, -34.03, 32.23)
CIE-LCHlch(38.43, 46.87, 136.56°)
OKLaboklab(45.78% -0.093 0.0749)
OKLCHoklch(45.78% 0.119 141.2)
XYZxyz(6.1350, 10.3291, 3.1835)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6722 #5E2267
analogous
#4E6722 #2B6722 #22673C
triadic
#2B6722 #222B67 #67222B
tetradic
#2B6722 #224E67 #5E2267 #673C22
square
#2B6722 #224E67 #5E2267 #673C22
split-complementary
#2B6722 #3C2267 #67224E
monochromatic
#0A1708 #183913 #2B6722 #3E9531 #53C143

Accessibility & contrast

On white

6.85
#2B6722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2B6722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6722
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6722#FFFFFF#000000##FFFFFF
##2B67221.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1A
Deuteranopia (green-blind)
#625828
Tritanopia (blue-blind)
#236459
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b6722;
/* rgb */ color: rgb(43, 103, 34);
/* oklch */ color: oklch(45.8% 0.119 141.2);
Tailwind
colors: {
  custom: {
    50: '#6b9360',
    500: '#2b6722',
    950: '#000000',
  },
}
SCSS
$custom: #2b6722;
$custom-light: #6b9360;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6722",
  "rgb": {
    "r": 43,
    "g": 103,
    "b": 34
  },
  "hsl": {
    "h": 112.174,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45782,
    "c": 0.1194,
    "h": 141.2
  },
  "luminance": 0.1033
}

Semantic roles & 50–950 ramp

primary
#2B6722
secondary
#904A9B
accent
#4EDAC8
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2B6722

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

Preview Lab → · Contrast checker → · Palette generator →

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