#2B8747#2B8747

#2B8747 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.130 H 149.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2B8747
RGBrgb(43, 135, 71)
HSLhsl(138, 52%, 35%)
HSVhsv(138, 68%, 53%)
CMYKcmyk(68.1%, 0%, 47.4%, 47.1%)
CIE-LABlab(49.85, -41.69, 26.67)
CIE-LCHlch(49.85, 49.49, 147.40°)
OKLaboklab(55.36% -0.1124 0.0653)
OKLCHoklch(55.36% 0.13 149.8)
XYZxyz(10.7967, 18.2953, 8.9224)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8747 #872B6B
analogous
#3D872B #2B8747 #2B8775
triadic
#2B8747 #472B87 #87472B
tetradic
#2B8747 #2B3D87 #872B6B #87752B
square
#2B8747 #2B3D87 #872B6B #87752B
split-complementary
#2B8747 #752B87 #872B3D
monochromatic
#0D2A16 #1C592F #2B8747 #3AB55F #60CC81

Accessibility & contrast

On white

4.51
#2B8747 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2B8747 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8747
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8747#FFFFFF#000000##000000
##2B87471.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B42
Deuteranopia (green-blind)
#7C734B
Tritanopia (blue-blind)
#028578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b8747;
/* rgb */ color: rgb(43, 135, 71);
/* oklch */ color: oklch(55.4% 0.130 149.8);
Tailwind
colors: {
  custom: {
    50: '#70ab7b',
    500: '#2b8747',
    950: '#000000',
  },
}
SCSS
$custom: #2b8747;
$custom-light: #70ab7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8747",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 71
  },
  "hsl": {
    "h": 138.261,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55357,
    "c": 0.13002,
    "h": 149.8
  },
  "luminance": 0.18296
}

Semantic roles & 50–950 ramp

primary
#2B8747
secondary
#B25B98
accent
#4DB0DB
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2B8747

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

Preview Lab → · Contrast checker → · Palette generator →

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