#2B811D#2B811D

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

Color values

HEX#2B811D
RGBrgb(43, 129, 29)
HSLhsl(112, 63%, 31%)
HSVhsv(112, 78%, 51%)
CMYKcmyk(66.7%, 0%, 77.5%, 49.4%)
CIE-LABlab(47.37, -44.67, 43.72)
CIE-LCHlch(47.37, 62.51, 135.62°)
OKLaboklab(53.16% -0.1221 0.0984)
OKLCHoklch(53.16% 0.157 141.1)
XYZxyz(9.0678, 16.3019, 3.8309)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B811D #731D81
analogous
#5D811D #2B811D #1D8141
triadic
#2B811D #1D2B81 #811D2B
tetradic
#2B811D #1D5D81 #731D81 #81411D
square
#2B811D #1D5D81 #731D81 #81411D
split-complementary
#2B811D #411D81 #811D5D
monochromatic
#0A1D07 #1A4F12 #2B811D #3CB328 #58D544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B811D#FFFFFF#000000##FFFFFF
##2B811D1.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)
#847507
Deuteranopia (green-blind)
#7A6E28
Tritanopia (blue-blind)
#1C7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b811d;
/* rgb */ color: rgb(43, 129, 29);
/* oklch */ color: oklch(53.2% 0.157 141.1);
Tailwind
colors: {
  custom: {
    50: '#71a661',
    500: '#2b811d',
    950: '#000000',
  },
}
SCSS
$custom: #2b811d;
$custom-light: #71a661;
$custom-dark: #000000;
JSON
{
  "hex": "#2b811d",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 111.6,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53156,
    "c": 0.15678,
    "h": 141.1
  },
  "luminance": 0.16303
}

Semantic roles & 50–950 ramp

primary
#2B811D
secondary
#A546B4
accent
#41E6CF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2B811D

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

Preview Lab → · Contrast checker → · Palette generator →

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