#2B7224#2B7224

#2B7224 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.133 H 141.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2B7224
RGBrgb(43, 114, 36)
HSLhsl(115, 52%, 29%)
HSVhsv(115, 68%, 45%)
CMYKcmyk(62.3%, 0%, 68.4%, 55.3%)
CIE-LABlab(42.27, -38.32, 35.52)
CIE-LCHlch(42.27, 52.25, 137.17°)
OKLaboklab(48.96% -0.1045 0.0821)
OKLCHoklch(48.96% 0.133 141.8)
XYZxyz(7.3316, 12.6749, 3.7289)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7224 #6B2472
analogous
#527224 #2B7224 #247244
triadic
#2B7224 #242B72 #72242B
tetradic
#2B7224 #245272 #6B2472 #724424
square
#2B7224 #245272 #6B2472 #724424
split-complementary
#2B7224 #442472 #722452
monochromatic
#091707 #194315 #2B7224 #3DA133 #56C64A

Accessibility & contrast

On white

5.94
#2B7224 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2B7224 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7224
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7224#FFFFFF#000000##FFFFFF
##2B72241.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75671A
Deuteranopia (green-blind)
#6C612B
Tritanopia (blue-blind)
#206E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b7224;
/* rgb */ color: rgb(43, 114, 36);
/* oklch */ color: oklch(49.0% 0.133 141.8);
Tailwind
colors: {
  custom: {
    50: '#6d9b63',
    500: '#2b7224',
    950: '#000000',
  },
}
SCSS
$custom: #2b7224;
$custom-light: #6d9b63;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7224",
  "rgb": {
    "r": 43,
    "g": 114,
    "b": 36
  },
  "hsl": {
    "h": 114.615,
    "s": 52,
    "l": 29.412
  },
  "oklch": {
    "l": 0.48957,
    "c": 0.13289,
    "h": 141.8
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#2B7224
secondary
#9D4DA5
accent
#4CDBCF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2B7224

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

Preview Lab → · Contrast checker → · Palette generator →

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