#2B6511#2B6511

#2B6511 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.1% C 0.129 H 138.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2B6511
RGBrgb(43, 101, 17)
HSLhsl(101, 71%, 23%)
HSVhsv(101, 83%, 40%)
CMYKcmyk(57.4%, 0%, 83.2%, 60.4%)
CIE-LABlab(37.59, -34.71, 38.51)
CIE-LCHlch(37.59, 51.84, 132.03°)
OKLaboklab(45.05% -0.0959 0.0856)
OKLCHoklch(45.05% 0.129 138.2)
XYZxyz(5.7509, 9.8610, 2.1305)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6511 #4B1165
analogous
#556511 #2B6511 #116521
triadic
#2B6511 #112B65 #65112B
tetradic
#2B6511 #115565 #4B1165 #652111
square
#2B6511 #115565 #4B1165 #652111
split-complementary
#2B6511 #211165 #651155
monochromatic
#0B1A04 #153108 #2B6511 #41991A #58CE23

Accessibility & contrast

On white

7.07
#2B6511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2B6511 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6511
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6511#FFFFFF#000000##FFFFFF
##2B65111.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#61571B
Tritanopia (blue-blind)
#266155
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b6511;
/* rgb */ color: rgb(43, 101, 17);
/* oklch */ color: oklch(45.1% 0.129 138.2);
Tailwind
colors: {
  custom: {
    50: '#6c9157',
    500: '#2b6511',
    950: '#000000',
  },
}
SCSS
$custom: #2b6511;
$custom-light: #6c9157;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6511",
  "rgb": {
    "r": 43,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 101.429,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45051,
    "c": 0.12861,
    "h": 138.2
  },
  "luminance": 0.09861
}

Semantic roles & 50–950 ramp

primary
#2B6511
secondary
#7D359D
accent
#3AEEB6
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2B6511

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

Preview Lab → · Contrast checker → · Palette generator →

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