#2B7124#2B7124

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

Color values

HEX#2B7124
RGBrgb(43, 113, 36)
HSLhsl(115, 52%, 29%)
HSVhsv(115, 68%, 44%)
CMYKcmyk(61.9%, 0%, 68.1%, 55.7%)
CIE-LABlab(41.92, -37.92, 35.14)
CIE-LCHlch(41.92, 51.70, 137.18°)
OKLaboklab(48.67% -0.1034 0.0813)
OKLCHoklch(48.67% 0.132 141.8)
XYZxyz(7.2195, 12.4506, 3.6915)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7124 #6A2471
analogous
#527124 #2B7124 #247144
triadic
#2B7124 #242B71 #71242B
tetradic
#2B7124 #245271 #6A2471 #714424
square
#2B7124 #245271 #6A2471 #714424
split-complementary
#2B7124 #442471 #712452
monochromatic
#091707 #194315 #2B7124 #3D9F33 #55C54A

Accessibility & contrast

On white

6.02
#2B7124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2B7124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7124
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7124#FFFFFF#000000##FFFFFF
##2B71241.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74671A
Deuteranopia (green-blind)
#6B612B
Tritanopia (blue-blind)
#206D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b7124;
/* rgb */ color: rgb(43, 113, 36);
/* oklch */ color: oklch(48.7% 0.132 141.8);
Tailwind
colors: {
  custom: {
    50: '#6d9a62',
    500: '#2b7124',
    950: '#000000',
  },
}
SCSS
$custom: #2b7124;
$custom-light: #6d9a62;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7124",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 36
  },
  "hsl": {
    "h": 114.545,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.48672,
    "c": 0.13154,
    "h": 141.8
  },
  "luminance": 0.12451
}

Semantic roles & 50–950 ramp

primary
#2B7124
secondary
#9C4DA4
accent
#4DDBCE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2B7124

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

Preview Lab → · Contrast checker → · Palette generator →

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