#2B8331#2B8331

#2B8331 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.145 H 144.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2B8331
RGBrgb(43, 131, 49)
HSLhsl(124, 51%, 34%)
HSVhsv(124, 67%, 51%)
CMYKcmyk(67.2%, 0%, 62.6%, 48.6%)
CIE-LABlab(48.22, -43.42, 36.03)
CIE-LCHlch(48.22, 56.42, 140.31°)
OKLaboklab(53.92% -0.1176 0.0846)
OKLCHoklch(53.92% 0.145 144.3)
XYZxyz(9.6663, 16.9670, 5.6707)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8331 #832B7D
analogous
#51832B #2B8331 #2B835D
triadic
#2B8331 #312B83 #83312B
tetradic
#2B8331 #2B5183 #832B7D #835D2B
square
#2B8331 #2B5183 #832B7D #835D2B
split-complementary
#2B8331 #5D2B83 #832B51
monochromatic
#0D270F #1C5520 #2B8331 #3AB142 #5ECA66

Accessibility & contrast

On white

4.78
#2B8331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2B8331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8331
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8331#FFFFFF#000000##FFFFFF
##2B83311.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857728
Deuteranopia (green-blind)
#7B7038
Tritanopia (blue-blind)
#157F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b8331;
/* rgb */ color: rgb(43, 131, 49);
/* oklch */ color: oklch(53.9% 0.145 144.3);
Tailwind
colors: {
  custom: {
    50: '#70a86c',
    500: '#2b8331',
    950: '#000000',
  },
}
SCSS
$custom: #2b8331;
$custom-light: #70a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8331",
  "rgb": {
    "r": 43,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 124.091,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53915,
    "c": 0.14488,
    "h": 144.3
  },
  "luminance": 0.16968
}

Semantic roles & 50–950 ramp

primary
#2B8331
secondary
#B05AAA
accent
#4ED1DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2B8331

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

Preview Lab → · Contrast checker → · Palette generator →

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