#2B8745#2B8745

#2B8745 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.132 H 149.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2B8745
RGBrgb(43, 135, 69)
HSLhsl(137, 52%, 35%)
HSVhsv(137, 68%, 53%)
CMYKcmyk(68.1%, 0%, 48.9%, 47.1%)
CIE-LABlab(49.82, -42.04, 27.71)
CIE-LCHlch(49.82, 50.35, 146.61°)
OKLaboklab(55.32% -0.1133 0.0676)
OKLCHoklch(55.32% 0.132 149.2)
XYZxyz(10.7336, 18.2701, 8.5899)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8745 #872B6D
analogous
#3F872B #2B8745 #2B8773
triadic
#2B8745 #452B87 #87452B
tetradic
#2B8745 #2B3F87 #872B6D #87732B
square
#2B8745 #2B3F87 #872B6D #87732B
split-complementary
#2B8745 #732B87 #872B3F
monochromatic
#0D2A16 #1C592D #2B8745 #3AB55D #60CC7F

Accessibility & contrast

On white

4.51
#2B8745 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2B8745 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8745
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8745#FFFFFF#000000##000000
##2B87451.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B40
Deuteranopia (green-blind)
#7D734A
Tritanopia (blue-blind)
#048477
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2b8745;
/* rgb */ color: rgb(43, 135, 69);
/* oklch */ color: oklch(55.3% 0.132 149.2);
Tailwind
colors: {
  custom: {
    50: '#70ab7a',
    500: '#2b8745',
    950: '#000000',
  },
}
SCSS
$custom: #2b8745;
$custom-light: #70ab7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8745",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 69
  },
  "hsl": {
    "h": 136.957,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55322,
    "c": 0.13197,
    "h": 149.2
  },
  "luminance": 0.18271
}

Semantic roles & 50–950 ramp

primary
#2B8745
secondary
#B25B9A
accent
#4DB3DB
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2B8745

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

Preview Lab → · Contrast checker → · Palette generator →

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