#2B8337#2B8337

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

Color values

HEX#2B8337
RGBrgb(43, 131, 55)
HSLhsl(128, 51%, 34%)
HSVhsv(128, 67%, 51%)
CMYKcmyk(67.2%, 0%, 58%, 48.6%)
CIE-LABlab(48.29, -42.63, 33.15)
CIE-LCHlch(48.29, 54.00, 142.13°)
OKLaboklab(53.99% -0.1152 0.0789)
OKLCHoklch(53.99% 0.14 145.6)
XYZxyz(9.8015, 17.0210, 6.3825)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8337 #832B77
analogous
#4B832B #2B8337 #2B8363
triadic
#2B8337 #372B83 #83372B
tetradic
#2B8337 #2B4B83 #832B77 #83632B
square
#2B8337 #2B4B83 #832B77 #83632B
split-complementary
#2B8337 #632B83 #832B4B
monochromatic
#0D2710 #1C5524 #2B8337 #3AB14A #5ECA6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8337#FFFFFF#000000##FFFFFF
##2B83371.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)
#857730
Deuteranopia (green-blind)
#7A703D
Tritanopia (blue-blind)
#128072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b8337;
/* rgb */ color: rgb(43, 131, 55);
/* oklch */ color: oklch(54.0% 0.140 145.6);
Tailwind
colors: {
  custom: {
    50: '#70a870',
    500: '#2b8337',
    950: '#000000',
  },
}
SCSS
$custom: #2b8337;
$custom-light: #70a870;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8337",
  "rgb": {
    "r": 43,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 128.182,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53993,
    "c": 0.13964,
    "h": 145.6
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#2B8337
secondary
#B05AA4
accent
#4EC7DA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2B8337

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

Preview Lab → · Contrast checker → · Palette generator →

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