#2B8336#2B8336

#2B8336 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.141 H 145.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2B8336
RGBrgb(43, 131, 54)
HSLhsl(128, 51%, 34%)
HSVhsv(128, 67%, 51%)
CMYKcmyk(67.2%, 0%, 58.8%, 48.6%)
CIE-LABlab(48.27, -42.76, 33.64)
CIE-LCHlch(48.27, 54.41, 141.81°)
OKLaboklab(53.98% -0.1156 0.0799)
OKLCHoklch(53.98% 0.141 145.4)
XYZxyz(9.7778, 17.0115, 6.2576)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8336 #832B78
analogous
#4C832B #2B8336 #2B8362
triadic
#2B8336 #362B83 #83362B
tetradic
#2B8336 #2B4C83 #832B78 #83622B
square
#2B8336 #2B4C83 #832B78 #83622B
split-complementary
#2B8336 #622B83 #832B4C
monochromatic
#0D2710 #1C5523 #2B8336 #3AB149 #5ECA6C

Accessibility & contrast

On white

4.77
#2B8336 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2B8336 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8336
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8336#FFFFFF#000000##FFFFFF
##2B83361.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772E
Deuteranopia (green-blind)
#7A703C
Tritanopia (blue-blind)
#138072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b8336;
/* rgb */ color: rgb(43, 131, 54);
/* oklch */ color: oklch(54.0% 0.141 145.4);
Tailwind
colors: {
  custom: {
    50: '#70a86f',
    500: '#2b8336',
    950: '#000000',
  },
}
SCSS
$custom: #2b8336;
$custom-light: #70a86f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8336",
  "rgb": {
    "r": 43,
    "g": 131,
    "b": 54
  },
  "hsl": {
    "h": 127.5,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53979,
    "c": 0.14054,
    "h": 145.4
  },
  "luminance": 0.17013
}

Semantic roles & 50–950 ramp

primary
#2B8336
secondary
#B05AA5
accent
#4EC9DA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2B8336

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

Preview Lab → · Contrast checker → · Palette generator →

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