#2B6216#2B6216

#2B6216 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.2% C 0.122 H 138.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2B6216
RGBrgb(43, 98, 22)
HSLhsl(103, 63%, 24%)
HSVhsv(103, 78%, 38%)
CMYKcmyk(56.1%, 0%, 77.6%, 61.6%)
CIE-LABlab(36.57, -33.09, 35.63)
CIE-LCHlch(36.57, 48.63, 132.88°)
OKLaboklab(44.22% -0.0913 0.0804)
OKLCHoklch(44.22% 0.122 138.6)
XYZxyz(5.5086, 9.3065, 2.2649)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6216 #4D1662
analogous
#516216 #2B6216 #166227
triadic
#2B6216 #162B62 #62162B
tetradic
#2B6216 #165162 #4D1662 #622716
square
#2B6216 #165162 #4D1662 #622716
split-complementary
#2B6216 #271662 #621651
monochromatic
#0B1906 #15300B #2B6216 #419421 #57C62C

Accessibility & contrast

On white

7.34
#2B6216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2B6216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6216
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6216#FFFFFF#000000##FFFFFF
##2B62161.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655908
Deuteranopia (green-blind)
#5E541E
Tritanopia (blue-blind)
#265E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b6216;
/* rgb */ color: rgb(43, 98, 22);
/* oklch */ color: oklch(44.2% 0.122 138.6);
Tailwind
colors: {
  custom: {
    50: '#6b8f59',
    500: '#2b6216',
    950: '#000000',
  },
}
SCSS
$custom: #2b6216;
$custom-light: #6b8f59;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6216",
  "rgb": {
    "r": 43,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 103.421,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44218,
    "c": 0.12165,
    "h": 138.6
  },
  "luminance": 0.09307
}

Semantic roles & 50–950 ramp

primary
#2B6216
secondary
#7F3B99
accent
#41E6B9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2B6216

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

Preview Lab → · Contrast checker → · Palette generator →

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