#2B8451#2B8451

#2B8451 is a mid, moderate green. Relative luminance 0.176; OKLCH L 54.7% C 0.116 H 154.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2B8451
RGBrgb(43, 132, 81)
HSLhsl(146, 51%, 34%)
HSVhsv(146, 67%, 52%)
CMYKcmyk(67.4%, 0%, 38.6%, 48.2%)
CIE-LABlab(49.02, -38.59, 20.05)
CIE-LCHlch(49.02, 43.48, 152.54°)
OKLaboklab(54.73% -0.1044 0.0502)
OKLCHoklch(54.73% 0.116 154.3)
XYZxyz(10.7318, 17.6091, 10.6163)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8451 #842B5E
analogous
#32842B #2B8451 #2B847E
triadic
#2B8451 #512B84 #84512B
tetradic
#2B8451 #2B3284 #842B5E #847E2B
square
#2B8451 #2B3284 #842B5E #847E2B
split-complementary
#2B8451 #7E2B84 #842B32
monochromatic
#0D2818 #1C5635 #2B8451 #3AB26D #5FCB8D

Accessibility & contrast

On white

4.64
#2B8451 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2B8451 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8451
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8451#FFFFFF#000000##FFFFFF
##2B84511.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84794E
Deuteranopia (green-blind)
#787154
Tritanopia (blue-blind)
#008277
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b8451;
/* rgb */ color: rgb(43, 132, 81);
/* oklch */ color: oklch(54.7% 0.116 154.3);
Tailwind
colors: {
  custom: {
    50: '#6fa882',
    500: '#2b8451',
    950: '#000000',
  },
}
SCSS
$custom: #2b8451;
$custom-light: #6fa882;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8451",
  "rgb": {
    "r": 43,
    "g": 132,
    "b": 81
  },
  "hsl": {
    "h": 145.618,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54725,
    "c": 0.11582,
    "h": 154.3
  },
  "luminance": 0.1761
}

Semantic roles & 50–950 ramp

primary
#2B8451
secondary
#B15A8C
accent
#4D9EDA
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2B8451

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

Preview Lab → · Contrast checker → · Palette generator →

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