#2B8129#2B8129

#2B8129 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.149 H 142.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2B8129
RGBrgb(43, 129, 41)
HSLhsl(119, 52%, 33%)
HSVhsv(119, 68%, 51%)
CMYKcmyk(66.7%, 0%, 68.2%, 49.4%)
CIE-LABlab(47.46, -43.58, 38.91)
CIE-LCHlch(47.46, 58.42, 138.24°)
OKLaboklab(53.26% -0.1185 0.0899)
OKLCHoklch(53.26% 0.149 142.8)
XYZxyz(9.2462, 16.3733, 4.7705)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8129 #7F2981
analogous
#578129 #2B8129 #298153
triadic
#2B8129 #292B81 #81292B
tetradic
#2B8129 #295781 #7F2981 #815329
square
#2B8129 #295781 #7F2981 #815329
split-complementary
#2B8129 #532981 #812957
monochromatic
#0C240B #1C531A #2B8129 #3AAF38 #5CCB5A

Accessibility & contrast

On white

4.91
#2B8129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2B8129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8129
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8129#FFFFFF#000000##FFFFFF
##2B81291.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751E
Deuteranopia (green-blind)
#796E31
Tritanopia (blue-blind)
#197D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b8129;
/* rgb */ color: rgb(43, 129, 41);
/* oklch */ color: oklch(53.3% 0.149 142.8);
Tailwind
colors: {
  custom: {
    50: '#70a667',
    500: '#2b8129',
    950: '#000000',
  },
}
SCSS
$custom: #2b8129;
$custom-light: #70a667;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8129",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 118.636,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53262,
    "c": 0.14869,
    "h": 142.8
  },
  "luminance": 0.16374
}

Semantic roles & 50–950 ramp

primary
#2B8129
secondary
#AE56B0
accent
#4DDBD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B8129

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

Preview Lab → · Contrast checker → · Palette generator →

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