#2B811C#2B811C

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

Color values

HEX#2B811C
RGBrgb(43, 129, 28)
HSLhsl(111, 64%, 31%)
HSVhsv(111, 78%, 51%)
CMYKcmyk(66.7%, 0%, 78.3%, 49.4%)
CIE-LABlab(47.36, -44.75, 44.08)
CIE-LCHlch(47.36, 62.81, 135.43°)
OKLaboklab(53.15% -0.1223 0.099)
OKLCHoklch(53.15% 0.157 141)
XYZxyz(9.0557, 16.2970, 3.7668)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B811C #721C81
analogous
#5D811C #2B811C #1C813F
triadic
#2B811C #1C2B81 #811C2B
tetradic
#2B811C #1C5D81 #721C81 #813F1C
square
#2B811C #1C5D81 #721C81 #813F1C
split-complementary
#2B811C #3F1C81 #811C5D
monochromatic
#091C06 #1A4F11 #2B811C #3CB327 #58D642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B811C#FFFFFF#000000##FFFFFF
##2B811C1.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)
#847505
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#1C7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b811c;
/* rgb */ color: rgb(43, 129, 28);
/* oklch */ color: oklch(53.1% 0.157 141.0);
Tailwind
colors: {
  custom: {
    50: '#71a660',
    500: '#2b811c',
    950: '#000000',
  },
}
SCSS
$custom: #2b811c;
$custom-light: #71a660;
$custom-dark: #000000;
JSON
{
  "hex": "#2b811c",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 111.089,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53149,
    "c": 0.15735,
    "h": 141
  },
  "luminance": 0.16298
}

Semantic roles & 50–950 ramp

primary
#2B811C
secondary
#A444B4
accent
#40E7CF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2B811C

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

Preview Lab → · Contrast checker → · Palette generator →

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