#2B881F#2B881F

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

Color values

HEX#2B881F
RGBrgb(43, 136, 31)
HSLhsl(113, 63%, 33%)
HSVhsv(113, 77%, 53%)
CMYKcmyk(68.4%, 0%, 77.2%, 46.7%)
CIE-LABlab(49.76, -47.04, 45.36)
CIE-LCHlch(49.76, 65.35, 136.04°)
OKLaboklab(55.14% -0.1284 0.1021)
OKLCHoklch(55.14% 0.164 141.5)
XYZxyz(10.0472, 18.2198, 4.2833)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B881F #7C1F88
analogous
#5F881F #2B881F #1F8848
triadic
#2B881F #1F2B88 #881F2B
tetradic
#2B881F #1F5F88 #7C1F88 #88481F
square
#2B881F #1F5F88 #7C1F88 #88481F
split-complementary
#2B881F #481F88 #881F5F
monochromatic
#0B2408 #1B5614 #2B881F #3BBA2A #5BD64B

Accessibility & contrast

On white

4.52
#2B881F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B881F#FFFFFF#000000##000000
##2B881F1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B08
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#188474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2b881f;
/* rgb */ color: rgb(43, 136, 31);
/* oklch */ color: oklch(55.1% 0.164 141.5);
Tailwind
colors: {
  custom: {
    50: '#72ac63',
    500: '#2b881f',
    950: '#000000',
  },
}
SCSS
$custom: #2b881f;
$custom-light: #72ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#2b881f",
  "rgb": {
    "r": 43,
    "g": 136,
    "b": 31
  },
  "hsl": {
    "h": 113.143,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55143,
    "c": 0.16401,
    "h": 141.5
  },
  "luminance": 0.18221
}

Semantic roles & 50–950 ramp

primary
#2B881F
secondary
#AC4AB9
accent
#42E6D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B881F

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

Preview Lab → · Contrast checker → · Palette generator →

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