#2B8A47#2B8A47

#2B8A47 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.2% C 0.134 H 149.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2B8A47
RGBrgb(43, 138, 71)
HSLhsl(138, 52%, 35%)
HSVhsv(138, 69%, 54%)
CMYKcmyk(68.8%, 0%, 48.6%, 45.9%)
CIE-LABlab(50.86, -42.89, 27.94)
CIE-LCHlch(50.86, 51.19, 146.91°)
OKLaboklab(56.18% -0.1156 0.0682)
OKLCHoklch(56.18% 0.134 149.4)
XYZxyz(11.2212, 19.1443, 9.0639)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8A47 #8A2B6E
analogous
#3F8A2B #2B8A47 #2B8A76
triadic
#2B8A47 #472B8A #8A472B
tetradic
#2B8A47 #2B3F8A #8A2B6E #8A762B
square
#2B8A47 #2B3F8A #8A2B6E #8A762B
split-complementary
#2B8A47 #762B8A #8A2B3F
monochromatic
#0E2D17 #1C5B2F #2B8A47 #3AB95F #61CE81

Accessibility & contrast

On white

4.35
#2B8A47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2B8A47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8A47
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8A47#FFFFFF#000000##000000
##2B8A471.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E42
Deuteranopia (green-blind)
#7F764C
Tritanopia (blue-blind)
#00877A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b8a47;
/* rgb */ color: rgb(43, 138, 71);
/* oklch */ color: oklch(56.2% 0.134 149.4);
Tailwind
colors: {
  custom: {
    50: '#71ad7b',
    500: '#2b8a47',
    950: '#000000',
  },
}
SCSS
$custom: #2b8a47;
$custom-light: #71ad7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8a47",
  "rgb": {
    "r": 43,
    "g": 138,
    "b": 71
  },
  "hsl": {
    "h": 137.684,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56184,
    "c": 0.13423,
    "h": 149.4
  },
  "luminance": 0.19145
}

Semantic roles & 50–950 ramp

primary
#2B8A47
secondary
#B45D9A
accent
#4CB1DC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2B8A47

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

Preview Lab → · Contrast checker → · Palette generator →

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