#2B841E#2B841E

#2B841E is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.160 H 141.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2B841E
RGBrgb(43, 132, 30)
HSLhsl(112, 63%, 32%)
HSVhsv(112, 77%, 52%)
CMYKcmyk(67.4%, 0%, 77.3%, 48.2%)
CIE-LABlab(48.40, -45.68, 44.37)
CIE-LCHlch(48.40, 63.69, 135.83°)
OKLaboklab(54.01% -0.1248 0.0999)
OKLCHoklch(54.01% 0.16 141.3)
XYZxyz(9.4814, 17.1089, 4.0307)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B841E #771E84
analogous
#5E841E #2B841E #1E8444
triadic
#2B841E #1E2B84 #841E2B
tetradic
#2B841E #1E5E84 #771E84 #84441E
square
#2B841E #1E5E84 #771E84 #84441E
split-complementary
#2B841E #441E84 #841E5E
monochromatic
#0B2007 #1B5213 #2B841E #3BB629 #59D547

Accessibility & contrast

On white

4.75
#2B841E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2B841E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B841E
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B841E#FFFFFF#000000##FFFFFF
##2B841E1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877708
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#1A8071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b841e;
/* rgb */ color: rgb(43, 132, 30);
/* oklch */ color: oklch(54.0% 0.160 141.3);
Tailwind
colors: {
  custom: {
    50: '#71a962',
    500: '#2b841e',
    950: '#000000',
  },
}
SCSS
$custom: #2b841e;
$custom-light: #71a962;
$custom-dark: #000000;
JSON
{
  "hex": "#2b841e",
  "rgb": {
    "r": 43,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 112.353,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54011,
    "c": 0.15981,
    "h": 141.3
  },
  "luminance": 0.1711
}

Semantic roles & 50–950 ramp

primary
#2B841E
secondary
#A947B7
accent
#42E6D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2B841E

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

Preview Lab → · Contrast checker → · Palette generator →

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