#2B811B#2B811B

#2B811B is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.158 H 140.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2B811B
RGBrgb(43, 129, 27)
HSLhsl(111, 65%, 31%)
HSVhsv(111, 79%, 51%)
CMYKcmyk(66.7%, 0%, 79.1%, 49.4%)
CIE-LABlab(47.36, -44.82, 44.43)
CIE-LCHlch(47.36, 63.11, 135.25°)
OKLaboklab(53.14% -0.1226 0.0995)
OKLCHoklch(53.14% 0.158 140.9)
XYZxyz(9.0439, 16.2923, 3.7048)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B811B #711B81
analogous
#5E811B #2B811B #1B813E
triadic
#2B811B #1B2B81 #811B2B
tetradic
#2B811B #1B5E81 #711B81 #813E1B
square
#2B811B #1B5E81 #711B81 #813E1B
split-complementary
#2B811B #3E1B81 #811B5E
monochromatic
#091C06 #1A4E10 #2B811B #3CB426 #57D73F

Accessibility & contrast

On white

4.93
#2B811B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2B811B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B811B
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B811B#FFFFFF#000000##FFFFFF
##2B811B1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847503
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#1C7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b811b;
/* rgb */ color: rgb(43, 129, 27);
/* oklch */ color: oklch(53.1% 0.158 140.9);
Tailwind
colors: {
  custom: {
    50: '#71a660',
    500: '#2b811b',
    950: '#000000',
  },
}
SCSS
$custom: #2b811b;
$custom-light: #71a660;
$custom-dark: #000000;
JSON
{
  "hex": "#2b811b",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 110.588,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53142,
    "c": 0.15791,
    "h": 140.9
  },
  "luminance": 0.16293
}

Semantic roles & 50–950 ramp

primary
#2B811B
secondary
#A343B5
accent
#3FE8CE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2B811B

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

Preview Lab → · Contrast checker → · Palette generator →

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