#2B882F#2B882F

#2B882F is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.153 H 143.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2B882F
RGBrgb(43, 136, 47)
HSLhsl(123, 52%, 35%)
HSVhsv(123, 68%, 53%)
CMYKcmyk(68.4%, 0%, 65.4%, 46.7%)
CIE-LABlab(49.89, -45.53, 38.86)
CIE-LCHlch(49.89, 59.86, 139.52°)
OKLaboklab(55.29% -0.1234 0.0904)
OKLCHoklch(55.29% 0.153 143.8)
XYZxyz(10.3129, 18.3261, 5.6826)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B882F #882B84
analogous
#55882B #2B882F #2B885E
triadic
#2B882F #2F2B88 #882F2B
tetradic
#2B882F #2B5588 #882B84 #885E2B
square
#2B882F #2B5588 #882B84 #885E2B
split-complementary
#2B882F #5E2B88 #882B55
monochromatic
#0E2B0F #1C5A1F #2B882F #3AB63F #61CD65

Accessibility & contrast

On white

4.50
#2B882F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2B882F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B882F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B882F#FFFFFF#000000##000000
##2B882F1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B24
Deuteranopia (green-blind)
#807437
Tritanopia (blue-blind)
#138475
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b882f;
/* rgb */ color: rgb(43, 136, 47);
/* oklch */ color: oklch(55.3% 0.153 143.8);
Tailwind
colors: {
  custom: {
    50: '#71ac6b',
    500: '#2b882f',
    950: '#000000',
  },
}
SCSS
$custom: #2b882f;
$custom-light: #71ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b882f",
  "rgb": {
    "r": 43,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 122.581,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5529,
    "c": 0.15301,
    "h": 143.8
  },
  "luminance": 0.18327
}

Semantic roles & 50–950 ramp

primary
#2B882F
secondary
#B35CAF
accent
#4CD5DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2B882F

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

Preview Lab → · Contrast checker → · Palette generator →

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