#2B8328#2B8328

#2B8328 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.152 H 142.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2B8328
RGBrgb(43, 131, 40)
HSLhsl(118, 53%, 34%)
HSVhsv(118, 69%, 51%)
CMYKcmyk(67.2%, 0%, 69.5%, 48.6%)
CIE-LABlab(48.13, -44.43, 40.08)
CIE-LCHlch(48.13, 59.83, 137.95°)
OKLaboklab(53.82% -0.1208 0.0922)
OKLCHoklch(53.82% 0.152 142.7)
XYZxyz(9.4950, 16.8984, 4.7684)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8328 #802883
analogous
#588328 #2B8328 #288352
triadic
#2B8328 #282B83 #83282B
tetradic
#2B8328 #285883 #802883 #835228
square
#2B8328 #285883 #802883 #835228
split-complementary
#2B8328 #522883 #832858
monochromatic
#0C250B #1C541A #2B8328 #3AB236 #5DCC59

Accessibility & contrast

On white

4.79
#2B8328 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2B8328 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8328
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8328#FFFFFF#000000##FFFFFF
##2B83281.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771C
Deuteranopia (green-blind)
#7B6F30
Tritanopia (blue-blind)
#187F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b8328;
/* rgb */ color: rgb(43, 131, 40);
/* oklch */ color: oklch(53.8% 0.152 142.7);
Tailwind
colors: {
  custom: {
    50: '#71a867',
    500: '#2b8328',
    950: '#000000',
  },
}
SCSS
$custom: #2b8328;
$custom-light: #71a867;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8328",
  "rgb": {
    "r": 43,
    "g": 131,
    "b": 40
  },
  "hsl": {
    "h": 118.022,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53815,
    "c": 0.15198,
    "h": 142.7
  },
  "luminance": 0.16899
}

Semantic roles & 50–950 ramp

primary
#2B8328
secondary
#AE55B1
accent
#4BDDD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #2B8328

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

Preview Lab → · Contrast checker → · Palette generator →

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