#2B882B#2B882B

#2B882B is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.156 H 143.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2B882B
RGBrgb(43, 136, 43)
HSLhsl(120, 52%, 35%)
HSVhsv(120, 68%, 53%)
CMYKcmyk(68.4%, 0%, 68.4%, 46.7%)
CIE-LABlab(49.85, -45.96, 40.62)
CIE-LCHlch(49.85, 61.34, 138.53°)
OKLaboklab(55.25% -0.1248 0.0937)
OKLCHoklch(55.25% 0.156 143.1)
XYZxyz(10.2359, 18.2953, 5.2769)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B882B #882B88
analogous
#59882B #2B882B #2B8859
triadic
#2B882B #2B2B88 #882B2B
tetradic
#2B882B #2B5988 #882B88 #88592B
square
#2B882B #2B5988 #882B88 #88592B
split-complementary
#2B882B #592B88 #882B59
monochromatic
#0E2B0E #1C5A1C #2B882B #3AB63A #61CD61

Accessibility & contrast

On white

4.51
#2B882B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2B882B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B882B
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B882B#FFFFFF#000000##000000
##2B882B1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1F
Deuteranopia (green-blind)
#807433
Tritanopia (blue-blind)
#148475
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b882b;
/* rgb */ color: rgb(43, 136, 43);
/* oklch */ color: oklch(55.2% 0.156 143.1);
Tailwind
colors: {
  custom: {
    50: '#72ac69',
    500: '#2b882b',
    950: '#000000',
  },
}
SCSS
$custom: #2b882b;
$custom-light: #72ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#2b882b",
  "rgb": {
    "r": 43,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 120,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55248,
    "c": 0.15607,
    "h": 143.1
  },
  "luminance": 0.18296
}

Semantic roles & 50–950 ramp

primary
#2B882B
secondary
#B35CB3
accent
#4CDBDB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B882B

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

Preview Lab → · Contrast checker → · Palette generator →

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