#2B9545#2B9545

#2B9545 is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.2% C 0.151 H 147.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2B9545
RGBrgb(43, 149, 69)
HSLhsl(135, 55%, 38%)
HSVhsv(135, 71%, 58%)
CMYKcmyk(71.1%, 0%, 53.7%, 41.6%)
CIE-LABlab(54.49, -47.42, 33.50)
CIE-LCHlch(54.49, 58.06, 144.76°)
OKLaboklab(59.17% -0.1278 0.0806)
OKLCHoklch(59.17% 0.151 147.7)
XYZxyz(12.8169, 22.4367, 9.2843)
Luminance0.2244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9545 #952B7B
analogous
#46952B #2B9545 #2B957A
triadic
#2B9545 #452B95 #95452B
tetradic
#2B9545 #2B4695 #952B7B #957A2B
square
#2B9545 #2B4695 #952B7B #957A2B
split-complementary
#2B9545 #7A2B95 #952B46
monochromatic
#103619 #1D662F #2B9545 #39C45B #67D382

Accessibility & contrast

On white

3.83
#2B9545 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#2B9545 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9545
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9545#FFFFFF#000000##000000
##2B95451.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97883E
Deuteranopia (green-blind)
#8A7F4B
Tritanopia (blue-blind)
#009283
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2b9545;
/* rgb */ color: rgb(43, 149, 69);
/* oklch */ color: oklch(59.2% 0.151 147.7);
Tailwind
colors: {
  custom: {
    50: '#73b57a',
    500: '#2b9545',
    950: '#000000',
  },
}
SCSS
$custom: #2b9545;
$custom-light: #73b57a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9545",
  "rgb": {
    "r": 43,
    "g": 149,
    "b": 69
  },
  "hsl": {
    "h": 134.717,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59174,
    "c": 0.15108,
    "h": 147.7
  },
  "luminance": 0.22438
}

Semantic roles & 50–950 ramp

primary
#2B9545
secondary
#BA62A4
accent
#49BADF
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2B9545

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

Preview Lab → · Contrast checker → · Palette generator →

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