#2B811E#2B811E

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

Color values

HEX#2B811E
RGBrgb(43, 129, 30)
HSLhsl(112, 62%, 31%)
HSVhsv(112, 77%, 51%)
CMYKcmyk(66.7%, 0%, 76.7%, 49.4%)
CIE-LABlab(47.37, -44.59, 43.36)
CIE-LCHlch(47.37, 62.20, 135.81°)
OKLaboklab(53.16% -0.1218 0.0977)
OKLCHoklch(53.16% 0.156 141.3)
XYZxyz(9.0804, 16.3069, 3.8971)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B811E #741E81
analogous
#5C811E #2B811E #1E8142
triadic
#2B811E #1E2B81 #811E2B
tetradic
#2B811E #1E5C81 #741E81 #81421E
square
#2B811E #1E5C81 #741E81 #81421E
split-complementary
#2B811E #421E81 #811E5C
monochromatic
#0A1E07 #1A4F12 #2B811E #3CB32A #58D446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B811E#FFFFFF#000000##FFFFFF
##2B811E1.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)
#84750A
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#1B7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b811e;
/* rgb */ color: rgb(43, 129, 30);
/* oklch */ color: oklch(53.2% 0.156 141.3);
Tailwind
colors: {
  custom: {
    50: '#71a661',
    500: '#2b811e',
    950: '#000000',
  },
}
SCSS
$custom: #2b811e;
$custom-light: #71a661;
$custom-dark: #000000;
JSON
{
  "hex": "#2b811e",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 112.121,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53164,
    "c": 0.15618,
    "h": 141.3
  },
  "luminance": 0.16308
}

Semantic roles & 50–950 ramp

primary
#2B811E
secondary
#A647B4
accent
#42E5D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2B811E

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

Preview Lab → · Contrast checker → · Palette generator →

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