#2B8950#2B8950

#2B8950 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.1% C 0.124 H 152.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2B8950
RGBrgb(43, 137, 80)
HSLhsl(144, 52%, 35%)
HSVhsv(144, 69%, 54%)
CMYKcmyk(68.6%, 0%, 41.6%, 46.3%)
CIE-LABlab(50.67, -40.86, 22.79)
CIE-LCHlch(50.67, 46.78, 150.85°)
OKLaboklab(56.08% -0.1103 0.0566)
OKLCHoklch(56.08% 0.124 152.8)
XYZxyz(11.3889, 18.9829, 10.6517)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8950 #892B64
analogous
#35892B #2B8950 #2B897F
triadic
#2B8950 #502B89 #89502B
tetradic
#2B8950 #2B3589 #892B64 #897F2B
square
#2B8950 #2B3589 #892B64 #897F2B
split-complementary
#2B8950 #7F2B89 #892B35
monochromatic
#0E2C1A #1C5A35 #2B8950 #3AB86B #61CD8C

Accessibility & contrast

On white

4.38
#2B8950 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#2B8950 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8950
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8950#FFFFFF#000000##000000
##2B89501.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4C
Deuteranopia (green-blind)
#7D7554
Tritanopia (blue-blind)
#00877B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b8950;
/* rgb */ color: rgb(43, 137, 80);
/* oklch */ color: oklch(56.1% 0.124 152.8);
Tailwind
colors: {
  custom: {
    50: '#70ac81',
    500: '#2b8950',
    950: '#000000',
  },
}
SCSS
$custom: #2b8950;
$custom-light: #70ac81;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8950",
  "rgb": {
    "r": 43,
    "g": 137,
    "b": 80
  },
  "hsl": {
    "h": 143.617,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56076,
    "c": 0.12399,
    "h": 152.8
  },
  "luminance": 0.18984
}

Semantic roles & 50–950 ramp

primary
#2B8950
secondary
#B35C91
accent
#4CA3DC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2B8950

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

Preview Lab → · Contrast checker → · Palette generator →

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