#2B8541#2B8541

#2B8541 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.133 H 148.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2B8541
RGBrgb(43, 133, 65)
HSLhsl(135, 51%, 35%)
HSVhsv(135, 68%, 52%)
CMYKcmyk(67.7%, 0%, 51.1%, 47.8%)
CIE-LABlab(49.09, -41.90, 28.93)
CIE-LCHlch(49.09, 50.92, 145.38°)
OKLaboklab(54.7% -0.113 0.0702)
OKLCHoklch(54.7% 0.133 148.2)
XYZxyz(10.3372, 17.6692, 7.8657)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8541 #852B6F
analogous
#42852B #2B8541 #2B856E
triadic
#2B8541 #412B85 #85412B
tetradic
#2B8541 #2B4285 #852B6F #856E2B
square
#2B8541 #2B4285 #852B6F #856E2B
split-complementary
#2B8541 #6E2B85 #852B42
monochromatic
#0D2914 #1C572A #2B8541 #3AB358 #5FCB7A

Accessibility & contrast

On white

4.63
#2B8541 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2B8541 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8541
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8541#FFFFFF#000000##FFFFFF
##2B85411.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793B
Deuteranopia (green-blind)
#7B7246
Tritanopia (blue-blind)
#098275
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b8541;
/* rgb */ color: rgb(43, 133, 65);
/* oklch */ color: oklch(54.7% 0.133 148.2);
Tailwind
colors: {
  custom: {
    50: '#70a977',
    500: '#2b8541',
    950: '#000000',
  },
}
SCSS
$custom: #2b8541;
$custom-light: #70a977;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8541",
  "rgb": {
    "r": 43,
    "g": 133,
    "b": 65
  },
  "hsl": {
    "h": 134.667,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54701,
    "c": 0.13305,
    "h": 148.2
  },
  "luminance": 0.1767
}

Semantic roles & 50–950 ramp

primary
#2B8541
secondary
#B15B9C
accent
#4DB8DB
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2B8541

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

Preview Lab → · Contrast checker → · Palette generator →

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