#2B8A51#2B8A51

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

Color values

HEX#2B8A51
RGBrgb(43, 138, 81)
HSLhsl(144, 52%, 35%)
HSVhsv(144, 69%, 54%)
CMYKcmyk(68.8%, 0%, 41.3%, 45.9%)
CIE-LABlab(51.02, -41.07, 22.69)
CIE-LCHlch(51.02, 46.93, 151.08°)
OKLaboklab(56.37% -0.1109 0.0564)
OKLCHoklch(56.37% 0.124 153)
XYZxyz(11.5690, 19.2834, 10.8954)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8A51 #8A2B64
analogous
#348A2B #2B8A51 #2B8A80
triadic
#2B8A51 #512B8A #8A512B
tetradic
#2B8A51 #2B348A #8A2B64 #8A802B
square
#2B8A51 #2B348A #8A2B64 #8A802B
split-complementary
#2B8A51 #802B8A #8A2B34
monochromatic
#0E2D1A #1C5B36 #2B8A51 #3AB96C #61CE8D

Accessibility & contrast

On white

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

On black

4.86
#2B8A51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8A51
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8A51#FFFFFF#000000##000000
##2B8A511.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F4D
Deuteranopia (green-blind)
#7E7655
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b8a51;
/* rgb */ color: rgb(43, 138, 81);
/* oklch */ color: oklch(56.4% 0.124 153.0);
Tailwind
colors: {
  custom: {
    50: '#71ad82',
    500: '#2b8a51',
    950: '#000000',
  },
}
SCSS
$custom: #2b8a51;
$custom-light: #71ad82;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8a51",
  "rgb": {
    "r": 43,
    "g": 138,
    "b": 81
  },
  "hsl": {
    "h": 144,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5637,
    "c": 0.12443,
    "h": 153
  },
  "luminance": 0.19285
}

Semantic roles & 50–950 ramp

primary
#2B8A51
secondary
#B45D91
accent
#4CA2DC
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2B8A51

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

Preview Lab → · Contrast checker → · Palette generator →

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