#2B8134#2B8134

#2B8134 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.140 H 145.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2B8134
RGBrgb(43, 129, 52)
HSLhsl(126, 50%, 34%)
HSVhsv(126, 67%, 51%)
CMYKcmyk(66.7%, 0%, 59.7%, 49.4%)
CIE-LABlab(47.57, -42.26, 33.81)
CIE-LCHlch(47.57, 54.13, 141.34°)
OKLaboklab(53.39% -0.1144 0.0801)
OKLCHoklch(53.39% 0.14 145)
XYZxyz(9.4657, 16.4611, 5.9266)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8134 #812B78
analogous
#4D812B #2B8134 #2B815F
triadic
#2B8134 #342B81 #81342B
tetradic
#2B8134 #2B4D81 #812B78 #815F2B
square
#2B8134 #2B4D81 #812B78 #815F2B
split-complementary
#2B8134 #5F2B81 #812B4D
monochromatic
#0C250F #1C5321 #2B8134 #3AAF47 #5DC969

Accessibility & contrast

On white

4.89
#2B8134 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2B8134 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8134
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8134#FFFFFF#000000##FFFFFF
##2B81341.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83752C
Deuteranopia (green-blind)
#796E3A
Tritanopia (blue-blind)
#157E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b8134;
/* rgb */ color: rgb(43, 129, 52);
/* oklch */ color: oklch(53.4% 0.140 145.0);
Tailwind
colors: {
  custom: {
    50: '#70a66e',
    500: '#2b8134',
    950: '#000000',
  },
}
SCSS
$custom: #2b8134;
$custom-light: #70a66e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8134",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 52
  },
  "hsl": {
    "h": 126.279,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53393,
    "c": 0.13961,
    "h": 145
  },
  "luminance": 0.16462
}

Semantic roles & 50–950 ramp

primary
#2B8134
secondary
#AF59A6
accent
#4ECBDA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2B8134

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

Preview Lab → · Contrast checker → · Palette generator →

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