#2B6211#2B6211

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

Color values

HEX#2B6211
RGBrgb(43, 98, 17)
HSLhsl(101, 70%, 23%)
HSVhsv(101, 83%, 38%)
CMYKcmyk(56.1%, 0%, 82.7%, 61.6%)
CIE-LABlab(36.53, -33.46, 37.50)
CIE-LCHlch(36.53, 50.26, 131.74°)
OKLaboklab(44.18% -0.0926 0.0835)
OKLCHoklch(44.18% 0.125 138)
XYZxyz(5.4649, 9.2890, 2.0352)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6211 #481162
analogous
#536211 #2B6211 #116220
triadic
#2B6211 #112B62 #62112B
tetradic
#2B6211 #115362 #481162 #622011
square
#2B6211 #115362 #481162 #622011
split-complementary
#2B6211 #201162 #621153
monochromatic
#0B1A05 #142E08 #2B6211 #42961A #59CA23

Accessibility & contrast

On white

7.35
#2B6211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B6211
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6211#FFFFFF#000000##FFFFFF
##2B62111.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655900
Deuteranopia (green-blind)
#5E541A
Tritanopia (blue-blind)
#275E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b6211;
/* rgb */ color: rgb(43, 98, 17);
/* oklch */ color: oklch(44.2% 0.125 138.0);
Tailwind
colors: {
  custom: {
    50: '#6b8f56',
    500: '#2b6211',
    950: '#000000',
  },
}
SCSS
$custom: #2b6211;
$custom-light: #6b8f56;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6211",
  "rgb": {
    "r": 43,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 100.741,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4418,
    "c": 0.12472,
    "h": 138
  },
  "luminance": 0.09289
}

Semantic roles & 50–950 ramp

primary
#2B6211
secondary
#7A349A
accent
#3BEDB4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B6211

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

Preview Lab → · Contrast checker → · Palette generator →

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