#2B8148#2B8148

#2B8148 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.120 H 151.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2B8148
RGBrgb(43, 129, 72)
HSLhsl(140, 50%, 34%)
HSVhsv(140, 67%, 51%)
CMYKcmyk(66.7%, 0%, 44.2%, 49.4%)
CIE-LABlab(47.86, -39.08, 23.55)
CIE-LCHlch(47.86, 45.63, 148.92°)
OKLaboklab(53.72% -0.1055 0.0582)
OKLCHoklch(53.72% 0.12 151.1)
XYZxyz(10.0154, 16.6809, 8.8216)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8148 #812B64
analogous
#39812B #2B8148 #2B8173
triadic
#2B8148 #482B81 #81482B
tetradic
#2B8148 #2B3981 #812B64 #81732B
square
#2B8148 #2B3981 #812B64 #81732B
split-complementary
#2B8148 #732B81 #812B39
monochromatic
#0C2515 #1C532E #2B8148 #3AAF62 #5DC982

Accessibility & contrast

On white

4.84
#2B8148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2B8148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8148
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8148#FFFFFF#000000##FFFFFF
##2B81481.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827644
Deuteranopia (green-blind)
#776F4C
Tritanopia (blue-blind)
#067F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b8148;
/* rgb */ color: rgb(43, 129, 72);
/* oklch */ color: oklch(53.7% 0.120 151.1);
Tailwind
colors: {
  custom: {
    50: '#6fa67c',
    500: '#2b8148',
    950: '#000000',
  },
}
SCSS
$custom: #2b8148;
$custom-light: #6fa67c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8148",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 72
  },
  "hsl": {
    "h": 140.233,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53717,
    "c": 0.12046,
    "h": 151.1
  },
  "luminance": 0.16682
}

Semantic roles & 50–950 ramp

primary
#2B8148
secondary
#AF5992
accent
#4EABDA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2B8148

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

Preview Lab → · Contrast checker → · Palette generator →

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