#2B8958#2B8958

#2B8958 is a mid, moderate green. Relative luminance 0.191; OKLCH L 56.2% C 0.116 H 156.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2B8958
RGBrgb(43, 137, 88)
HSLhsl(149, 52%, 35%)
HSVhsv(149, 69%, 54%)
CMYKcmyk(68.6%, 0%, 35.8%, 46.3%)
CIE-LABlab(50.81, -39.25, 18.51)
CIE-LCHlch(50.81, 43.39, 154.75°)
OKLaboklab(56.25% -0.1064 0.0466)
OKLCHoklch(56.25% 0.116 156.4)
XYZxyz(11.7023, 19.1082, 12.3022)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8958 #892B5C
analogous
#2D892B #2B8958 #2B8987
triadic
#2B8958 #582B89 #89582B
tetradic
#2B8958 #2B2D89 #892B5C #89872B
square
#2B8958 #2B2D89 #892B5C #89872B
split-complementary
#2B8958 #872B89 #892B2D
monochromatic
#0E2C1C #1C5A3A #2B8958 #3AB876 #61CD95

Accessibility & contrast

On white

4.36
#2B8958 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2B8958 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8958
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8958#FFFFFF#000000##000000
##2B89581.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887E55
Deuteranopia (green-blind)
#7C765B
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b8958;
/* rgb */ color: rgb(43, 137, 88);
/* oklch */ color: oklch(56.2% 0.116 156.4);
Tailwind
colors: {
  custom: {
    50: '#70ac87',
    500: '#2b8958',
    950: '#000000',
  },
}
SCSS
$custom: #2b8958;
$custom-light: #70ac87;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8958",
  "rgb": {
    "r": 43,
    "g": 137,
    "b": 88
  },
  "hsl": {
    "h": 148.723,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56245,
    "c": 0.11615,
    "h": 156.4
  },
  "luminance": 0.19109
}

Semantic roles & 50–950 ramp

primary
#2B8958
secondary
#B35C8A
accent
#4C97DC
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2B8958

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

Preview Lab → · Contrast checker → · Palette generator →

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