#2B8545#2B8545

#2B8545 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.8% C 0.129 H 149.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2B8545
RGBrgb(43, 133, 69)
HSLhsl(137, 51%, 35%)
HSVhsv(137, 68%, 52%)
CMYKcmyk(67.7%, 0%, 48.1%, 47.8%)
CIE-LABlab(49.15, -41.24, 26.86)
CIE-LCHlch(49.15, 49.21, 146.92°)
OKLaboklab(54.77% -0.1112 0.0657)
OKLCHoklch(54.77% 0.129 149.4)
XYZxyz(10.4572, 17.7172, 8.4977)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8545 #852B6B
analogous
#3E852B #2B8545 #2B8572
triadic
#2B8545 #452B85 #85452B
tetradic
#2B8545 #2B3E85 #852B6B #85722B
square
#2B8545 #2B3E85 #852B6B #85722B
split-complementary
#2B8545 #722B85 #852B3E
monochromatic
#0D2915 #1C572D #2B8545 #3AB35D #5FCB7E

Accessibility & contrast

On white

4.62
#2B8545 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2B8545 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8545
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8545#FFFFFF#000000##FFFFFF
##2B85451.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867A40
Deuteranopia (green-blind)
#7B7249
Tritanopia (blue-blind)
#068376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b8545;
/* rgb */ color: rgb(43, 133, 69);
/* oklch */ color: oklch(54.8% 0.129 149.4);
Tailwind
colors: {
  custom: {
    50: '#70a97a',
    500: '#2b8545',
    950: '#000000',
  },
}
SCSS
$custom: #2b8545;
$custom-light: #70a97a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8545",
  "rgb": {
    "r": 43,
    "g": 133,
    "b": 69
  },
  "hsl": {
    "h": 137.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54769,
    "c": 0.12916,
    "h": 149.4
  },
  "luminance": 0.17718
}

Semantic roles & 50–950 ramp

primary
#2B8545
secondary
#B15B98
accent
#4DB2DB
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2B8545

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

Preview Lab → · Contrast checker → · Palette generator →

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