#2B9845#2B9845

#2B9845 is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.0% C 0.155 H 147.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2B9845
RGBrgb(43, 152, 69)
HSLhsl(134, 56%, 38%)
HSVhsv(134, 72%, 60%)
CMYKcmyk(71.7%, 0%, 54.6%, 40.4%)
CIE-LABlab(55.48, -48.54, 34.71)
CIE-LCHlch(55.48, 59.67, 144.43°)
OKLaboklab(60% -0.1308 0.0833)
OKLCHoklch(60% 0.155 147.5)
XYZxyz(13.2977, 23.3983, 9.4446)
Luminance0.2340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9845 #982B7E
analogous
#47982B #2B9845 #2B987B
triadic
#2B9845 #452B98 #98452B
tetradic
#2B9845 #2B4798 #982B7E #987B2B
square
#2B9845 #2B4798 #982B7E #987B2B
split-complementary
#2B9845 #7B2B98 #982B47
monochromatic
#10391A #1E682F #2B9845 #39C75B #69D583

Accessibility & contrast

On white

3.70
#2B9845 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#2B9845 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9845
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9845#FFFFFF#000000##000000
##2B98451.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A3D
Deuteranopia (green-blind)
#8D814B
Tritanopia (blue-blind)
#009585
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2b9845;
/* rgb */ color: rgb(43, 152, 69);
/* oklch */ color: oklch(60.0% 0.155 147.5);
Tailwind
colors: {
  custom: {
    50: '#74b77b',
    500: '#2b9845',
    950: '#000000',
  },
}
SCSS
$custom: #2b9845;
$custom-light: #74b77b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9845",
  "rgb": {
    "r": 43,
    "g": 152,
    "b": 69
  },
  "hsl": {
    "h": 134.312,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59995,
    "c": 0.15504,
    "h": 147.5
  },
  "luminance": 0.234
}

Semantic roles & 50–950 ramp

primary
#2B9845
secondary
#BB64A6
accent
#49BBDF
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2B9845

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

Preview Lab → · Contrast checker → · Palette generator →

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