#2B8729#2B8729

#2B8729 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.156 H 142.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2B8729
RGBrgb(43, 135, 41)
HSLhsl(119, 53%, 35%)
HSVhsv(119, 70%, 53%)
CMYKcmyk(68.1%, 0%, 69.6%, 47.1%)
CIE-LABlab(49.50, -45.80, 41.11)
CIE-LCHlch(49.50, 61.54, 138.09°)
OKLaboklab(54.95% -0.1245 0.0945)
OKLCHoklch(54.95% 0.156 142.8)
XYZxyz(10.0599, 18.0006, 5.0417)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8729 #852987
analogous
#5A8729 #2B8729 #298756
triadic
#2B8729 #292B87 #87292B
tetradic
#2B8729 #295A87 #852987 #875629
square
#2B8729 #295A87 #852987 #875629
split-complementary
#2B8729 #562987 #87295A
monochromatic
#0D290C #1C581B #2B8729 #3AB637 #5FCE5D

Accessibility & contrast

On white

4.56
#2B8729 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2B8729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8729
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8729#FFFFFF#000000##000000
##2B87291.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1C
Deuteranopia (green-blind)
#7F7332
Tritanopia (blue-blind)
#168374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2b8729;
/* rgb */ color: rgb(43, 135, 41);
/* oklch */ color: oklch(54.9% 0.156 142.8);
Tailwind
colors: {
  custom: {
    50: '#72ab68',
    500: '#2b8729',
    950: '#000000',
  },
}
SCSS
$custom: #2b8729;
$custom-light: #72ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8729",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 118.723,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54948,
    "c": 0.15629,
    "h": 142.8
  },
  "luminance": 0.18002
}

Semantic roles & 50–950 ramp

primary
#2B8729
secondary
#B159B3
accent
#4BDDDA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8729

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

Preview Lab → · Contrast checker → · Palette generator →

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