#2B8247#2B8247

#2B8247 is a mid, vivid green. Relative luminance 0.169; OKLCH L 54.0% C 0.123 H 150.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2B8247
RGBrgb(43, 130, 71)
HSLhsl(139, 50%, 34%)
HSVhsv(139, 67%, 51%)
CMYKcmyk(66.9%, 0%, 45.4%, 49%)
CIE-LABlab(48.18, -39.67, 24.52)
CIE-LCHlch(48.18, 46.64, 148.28°)
OKLaboklab(53.97% -0.107 0.0604)
OKLCHoklch(53.97% 0.123 150.6)
XYZxyz(10.1154, 16.9327, 8.6953)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8247 #822B66
analogous
#3B822B #2B8247 #2B8273
triadic
#2B8247 #472B82 #82472B
tetradic
#2B8247 #2B3B82 #822B66 #82732B
square
#2B8247 #2B3B82 #822B66 #82732B
split-complementary
#2B8247 #732B82 #822B3B
monochromatic
#0D2615 #1C542E #2B8247 #3AB060 #5ECA80

Accessibility & contrast

On white

4.79
#2B8247 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2B8247 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8247
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8247#FFFFFF#000000##FFFFFF
##2B82471.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837743
Deuteranopia (green-blind)
#786F4B
Tritanopia (blue-blind)
#068074
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b8247;
/* rgb */ color: rgb(43, 130, 71);
/* oklch */ color: oklch(54.0% 0.123 150.6);
Tailwind
colors: {
  custom: {
    50: '#6fa77b',
    500: '#2b8247',
    950: '#000000',
  },
}
SCSS
$custom: #2b8247;
$custom-light: #6fa77b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8247",
  "rgb": {
    "r": 43,
    "g": 130,
    "b": 71
  },
  "hsl": {
    "h": 139.31,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53975,
    "c": 0.1229,
    "h": 150.6
  },
  "luminance": 0.16934
}

Semantic roles & 50–950 ramp

primary
#2B8247
secondary
#B05994
accent
#4EADDA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2B8247

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

Preview Lab → · Contrast checker → · Palette generator →

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