#2B8539#2B8539

#2B8539 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.141 H 146.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2B8539
RGBrgb(43, 133, 57)
HSLhsl(129, 51%, 35%)
HSVhsv(129, 68%, 52%)
CMYKcmyk(67.7%, 0%, 57.1%, 47.8%)
CIE-LABlab(48.99, -43.12, 32.97)
CIE-LCHlch(48.99, 54.28, 142.60°)
OKLaboklab(54.58% -0.1165 0.0786)
OKLCHoklch(54.58% 0.141 146)
XYZxyz(10.1216, 17.5830, 6.7305)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8539 #852B77
analogous
#4A852B #2B8539 #2B8566
triadic
#2B8539 #392B85 #85392B
tetradic
#2B8539 #2B4A85 #852B77 #85662B
square
#2B8539 #2B4A85 #852B77 #85662B
split-complementary
#2B8539 #662B85 #852B4A
monochromatic
#0D2911 #1C5725 #2B8539 #3AB34D #5FCB70

Accessibility & contrast

On white

4.65
#2B8539 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2B8539 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8539
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8539#FFFFFF#000000##FFFFFF
##2B85391.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877932
Deuteranopia (green-blind)
#7C713F
Tritanopia (blue-blind)
#108274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b8539;
/* rgb */ color: rgb(43, 133, 57);
/* oklch */ color: oklch(54.6% 0.141 146.0);
Tailwind
colors: {
  custom: {
    50: '#70a971',
    500: '#2b8539',
    950: '#000000',
  },
}
SCSS
$custom: #2b8539;
$custom-light: #70a971;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8539",
  "rgb": {
    "r": 43,
    "g": 133,
    "b": 57
  },
  "hsl": {
    "h": 129.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54579,
    "c": 0.14054,
    "h": 146
  },
  "luminance": 0.17584
}

Semantic roles & 50–950 ramp

primary
#2B8539
secondary
#B15BA4
accent
#4DC5DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2B8539

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

Preview Lab → · Contrast checker → · Palette generator →

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