#2B6611#2B6611

#2B6611 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.130 H 138.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2B6611
RGBrgb(43, 102, 17)
HSLhsl(102, 71%, 23%)
HSVhsv(102, 83%, 40%)
CMYKcmyk(57.8%, 0%, 83.3%, 60%)
CIE-LABlab(37.94, -35.12, 38.84)
CIE-LCHlch(37.94, 52.36, 132.12°)
OKLaboklab(45.34% -0.0971 0.0863)
OKLCHoklch(45.34% 0.13 138.3)
XYZxyz(5.8486, 10.0563, 2.1631)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6611 #4C1166
analogous
#556611 #2B6611 #116621
triadic
#2B6611 #112B66 #66112B
tetradic
#2B6611 #115566 #4C1166 #662111
square
#2B6611 #115566 #4C1166 #662111
split-complementary
#2B6611 #211166 #661155
monochromatic
#0B1A04 #153208 #2B6611 #419A1A #57CF22

Accessibility & contrast

On white

6.97
#2B6611 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2B6611 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6611
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6611#FFFFFF#000000##FFFFFF
##2B66111.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#62571B
Tritanopia (blue-blind)
#266256
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b6611;
/* rgb */ color: rgb(43, 102, 17);
/* oklch */ color: oklch(45.3% 0.130 138.3);
Tailwind
colors: {
  custom: {
    50: '#6c9257',
    500: '#2b6611',
    950: '#000000',
  },
}
SCSS
$custom: #2b6611;
$custom-light: #6c9257;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6611",
  "rgb": {
    "r": 43,
    "g": 102,
    "b": 17
  },
  "hsl": {
    "h": 101.647,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45341,
    "c": 0.1299,
    "h": 138.3
  },
  "luminance": 0.10057
}

Semantic roles & 50–950 ramp

primary
#2B6611
secondary
#7E359E
accent
#3AEEB7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2B6611

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

Preview Lab → · Contrast checker → · Palette generator →

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