#2B881B#2B881B

#2B881B is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.1% C 0.166 H 141.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2B881B
RGBrgb(43, 136, 27)
HSLhsl(111, 67%, 32%)
HSVhsv(111, 80%, 53%)
CMYKcmyk(68.4%, 0%, 80.1%, 46.7%)
CIE-LABlab(49.74, -47.33, 46.73)
CIE-LCHlch(49.74, 66.51, 135.36°)
OKLaboklab(55.12% -0.1294 0.1043)
OKLCHoklch(55.12% 0.166 141.1)
XYZxyz(9.9977, 18.2000, 4.0228)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B881B #781B88
analogous
#62881B #2B881B #1B8842
triadic
#2B881B #1B2B88 #881B2B
tetradic
#2B881B #1B6288 #781B88 #88421B
square
#2B881B #1B6288 #781B88 #88421B
split-complementary
#2B881B #421B88 #881B62
monochromatic
#0B2207 #1B5511 #2B881B #3BBB25 #5ADA44

Accessibility & contrast

On white

4.53
#2B881B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2B881B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B881B
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B881B#FFFFFF#000000##000000
##2B881B1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#817328
Tritanopia (blue-blind)
#198474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2b881b;
/* rgb */ color: rgb(43, 136, 27);
/* oklch */ color: oklch(55.1% 0.166 141.1);
Tailwind
colors: {
  custom: {
    50: '#72ac61',
    500: '#2b881b',
    950: '#000000',
  },
}
SCSS
$custom: #2b881b;
$custom-light: #72ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#2b881b",
  "rgb": {
    "r": 43,
    "g": 136,
    "b": 27
  },
  "hsl": {
    "h": 111.193,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55116,
    "c": 0.16619,
    "h": 141.1
  },
  "luminance": 0.18201
}

Semantic roles & 50–950 ramp

primary
#2B881B
secondary
#AA44BB
accent
#3EEAD1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2B881B

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

Preview Lab → · Contrast checker → · Palette generator →

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