#2B8A54#2B8A54

#2B8A54 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.4% C 0.121 H 154.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2B8A54
RGBrgb(43, 138, 84)
HSLhsl(146, 52%, 35%)
HSVhsv(146, 69%, 54%)
CMYKcmyk(68.8%, 0%, 39.1%, 45.9%)
CIE-LABlab(51.07, -40.49, 21.10)
CIE-LCHlch(51.07, 45.65, 152.48°)
OKLaboklab(56.43% -0.1094 0.0527)
OKLCHoklch(56.43% 0.121 154.3)
XYZxyz(11.6839, 19.3294, 11.5010)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8A54 #8A2B61
analogous
#318A2B #2B8A54 #2B8A83
triadic
#2B8A54 #542B8A #8A542B
tetradic
#2B8A54 #2B318A #8A2B61 #8A832B
square
#2B8A54 #2B318A #8A2B61 #8A832B
split-complementary
#2B8A54 #832B8A #8A2B31
monochromatic
#0E2D1B #1C5B38 #2B8A54 #3AB970 #61CE90

Accessibility & contrast

On white

4.32
#2B8A54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2B8A54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8A54
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8A54#FFFFFF#000000##000000
##2B8A541.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F50
Deuteranopia (green-blind)
#7E7658
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2b8a54;
/* rgb */ color: rgb(43, 138, 84);
/* oklch */ color: oklch(56.4% 0.121 154.3);
Tailwind
colors: {
  custom: {
    50: '#71ad84',
    500: '#2b8a54',
    950: '#000000',
  },
}
SCSS
$custom: #2b8a54;
$custom-light: #71ad84;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8a54",
  "rgb": {
    "r": 43,
    "g": 138,
    "b": 84
  },
  "hsl": {
    "h": 145.895,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56431,
    "c": 0.12148,
    "h": 154.3
  },
  "luminance": 0.19331
}

Semantic roles & 50–950 ramp

primary
#2B8A54
secondary
#B45D8E
accent
#4C9EDC
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2B8A54

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

Preview Lab → · Contrast checker → · Palette generator →

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