#2B8847#2B8847

#2B8847 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.131 H 149.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2B8847
RGBrgb(43, 136, 71)
HSLhsl(138, 52%, 35%)
HSVhsv(138, 68%, 53%)
CMYKcmyk(68.4%, 0%, 47.8%, 46.7%)
CIE-LABlab(50.19, -42.09, 27.09)
CIE-LCHlch(50.19, 50.06, 147.23°)
OKLaboklab(55.63% -0.1135 0.0663)
OKLCHoklch(55.63% 0.131 149.7)
XYZxyz(10.9369, 18.5757, 8.9691)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8847 #882B6C
analogous
#3D882B #2B8847 #2B8876
triadic
#2B8847 #472B88 #88472B
tetradic
#2B8847 #2B3D88 #882B6C #88762B
square
#2B8847 #2B3D88 #882B6C #88762B
split-complementary
#2B8847 #762B88 #882B3D
monochromatic
#0E2B16 #1C5A2F #2B8847 #3AB65F #61CD81

Accessibility & contrast

On white

4.45
#2B8847 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2B8847 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8847
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8847#FFFFFF#000000##000000
##2B88471.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C42
Deuteranopia (green-blind)
#7D744C
Tritanopia (blue-blind)
#018678
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b8847;
/* rgb */ color: rgb(43, 136, 71);
/* oklch */ color: oklch(55.6% 0.131 149.7);
Tailwind
colors: {
  custom: {
    50: '#70ab7b',
    500: '#2b8847',
    950: '#000000',
  },
}
SCSS
$custom: #2b8847;
$custom-light: #70ab7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8847",
  "rgb": {
    "r": 43,
    "g": 136,
    "b": 71
  },
  "hsl": {
    "h": 138.065,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55633,
    "c": 0.13143,
    "h": 149.7
  },
  "luminance": 0.18577
}

Semantic roles & 50–950 ramp

primary
#2B8847
secondary
#B35C99
accent
#4CB0DB
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2B8847

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

Preview Lab → · Contrast checker → · Palette generator →

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