#2B6822#2B6822

#2B6822 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.1% C 0.121 H 141.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2B6822
RGBrgb(43, 104, 34)
HSLhsl(112, 51%, 27%)
HSVhsv(112, 67%, 41%)
CMYKcmyk(58.7%, 0%, 67.3%, 59.2%)
CIE-LABlab(38.78, -34.45, 32.61)
CIE-LCHlch(38.78, 47.44, 136.57°)
OKLaboklab(46.07% -0.0941 0.0757)
OKLCHoklch(46.07% 0.121 141.2)
XYZxyz(6.2350, 10.5292, 3.2168)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6822 #5F2268
analogous
#4E6822 #2B6822 #22683C
triadic
#2B6822 #222B68 #68222B
tetradic
#2B6822 #224E68 #5F2268 #683C22
square
#2B6822 #224E68 #5F2268 #683C22
split-complementary
#2B6822 #3C2268 #68224E
monochromatic
#0A1708 #183A13 #2B6822 #3E9631 #53C243

Accessibility & contrast

On white

6.76
#2B6822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2B6822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6822
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6822#FFFFFF#000000##FFFFFF
##2B68221.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F1A
Deuteranopia (green-blind)
#635928
Tritanopia (blue-blind)
#236559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b6822;
/* rgb */ color: rgb(43, 104, 34);
/* oklch */ color: oklch(46.1% 0.121 141.2);
Tailwind
colors: {
  custom: {
    50: '#6b9460',
    500: '#2b6822',
    950: '#000000',
  },
}
SCSS
$custom: #2b6822;
$custom-light: #6b9460;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6822",
  "rgb": {
    "r": 43,
    "g": 104,
    "b": 34
  },
  "hsl": {
    "h": 112.286,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.4607,
    "c": 0.12081,
    "h": 141.2
  },
  "luminance": 0.1053
}

Semantic roles & 50–950 ramp

primary
#2B6822
secondary
#914A9C
accent
#4EDAC8
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2B6822

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

Preview Lab → · Contrast checker → · Palette generator →

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