#2B7032#2B7032

#2B7032 is a mid, moderate green. Relative luminance 0.123; OKLCH L 48.6% C 0.118 H 145.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#2B7032
RGBrgb(43, 112, 50)
HSLhsl(126, 45%, 30%)
HSVhsv(126, 62%, 44%)
CMYKcmyk(61.6%, 0%, 55.4%, 56.1%)
CIE-LABlab(41.74, -35.70, 27.89)
CIE-LCHlch(41.74, 45.30, 142.01°)
OKLaboklab(48.57% -0.0967 0.0669)
OKLCHoklch(48.57% 0.118 145.3)
XYZxyz(7.3657, 12.3315, 5.0091)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7032 #702B69
analogous
#46702B #2B7032 #2B7054
triadic
#2B7032 #322B70 #70322B
tetradic
#2B7032 #2B4670 #702B69 #70542B
square
#2B7032 #2B4670 #702B69 #70542B
split-complementary
#2B7032 #542B70 #702B46
monochromatic
#09180B #1A441E #2B7032 #3C9C46 #57BE61

Accessibility & contrast

On white

6.06
#2B7032 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2B7032 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7032
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7032#FFFFFF#000000##FFFFFF
##2B70321.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72662C
Deuteranopia (green-blind)
#696037
Tritanopia (blue-blind)
#1D6D62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b7032;
/* rgb */ color: rgb(43, 112, 50);
/* oklch */ color: oklch(48.6% 0.118 145.3);
Tailwind
colors: {
  custom: {
    50: '#6c9a6b',
    500: '#2b7032',
    950: '#000000',
  },
}
SCSS
$custom: #2b7032;
$custom-light: #6c9a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7032",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 50
  },
  "hsl": {
    "h": 126.087,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48571,
    "c": 0.11762,
    "h": 145.3
  },
  "luminance": 0.12332
}

Semantic roles & 50–950 ramp

primary
#2B7032
secondary
#A2559A
accent
#54C7D4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #2B7032

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

Preview Lab → · Contrast checker → · Palette generator →

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