#2B7129#2B7129

#2B7129 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.127 H 142.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2B7129
RGBrgb(43, 113, 41)
HSLhsl(118, 47%, 30%)
HSVhsv(118, 64%, 44%)
CMYKcmyk(61.9%, 0%, 63.7%, 55.7%)
CIE-LABlab(41.97, -37.34, 32.80)
CIE-LCHlch(41.97, 49.70, 138.70°)
OKLaboklab(48.73% -0.1016 0.0769)
OKLCHoklch(48.73% 0.127 142.9)
XYZxyz(7.3012, 12.4833, 4.1221)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7129 #6F2971
analogous
#4F7129 #2B7129 #29714B
triadic
#2B7129 #292B71 #71292B
tetradic
#2B7129 #294F71 #6F2971 #714B29
square
#2B7129 #294F71 #6F2971 #714B29
split-complementary
#2B7129 #4B2971 #71294F
monochromatic
#091708 #1A4419 #2B7129 #3C9E39 #57C154

Accessibility & contrast

On white

6.01
#2B7129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2B7129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7129
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7129#FFFFFF#000000##FFFFFF
##2B71291.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736721
Deuteranopia (green-blind)
#6B612F
Tritanopia (blue-blind)
#1F6E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b7129;
/* rgb */ color: rgb(43, 113, 41);
/* oklch */ color: oklch(48.7% 0.127 142.9);
Tailwind
colors: {
  custom: {
    50: '#6d9a66',
    500: '#2b7129',
    950: '#000000',
  },
}
SCSS
$custom: #2b7129;
$custom-light: #6d9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7129",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 41
  },
  "hsl": {
    "h": 118.333,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4873,
    "c": 0.12737,
    "h": 142.9
  },
  "luminance": 0.12484
}

Semantic roles & 50–950 ramp

primary
#2B7129
secondary
#A153A3
accent
#51D6D3
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2B7129

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

Preview Lab → · Contrast checker → · Palette generator →

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