#2B7232#2B7232

#2B7232 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.121 H 145.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2B7232
RGBrgb(43, 114, 50)
HSLhsl(126, 45%, 31%)
HSVhsv(126, 62%, 45%)
CMYKcmyk(62.3%, 0%, 56.1%, 55.3%)
CIE-LABlab(42.43, -36.54, 28.72)
CIE-LCHlch(42.43, 46.47, 141.83°)
OKLaboklab(49.14% -0.099 0.0688)
OKLCHoklch(49.14% 0.121 145.2)
XYZxyz(7.5888, 12.7778, 5.0834)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7232 #722B6B
analogous
#47722B #2B7232 #2B7255
triadic
#2B7232 #322B72 #72322B
tetradic
#2B7232 #2B4772 #722B6B #72552B
square
#2B7232 #2B4772 #722B6B #72552B
split-complementary
#2B7232 #552B72 #722B47
monochromatic
#09190B #1A461F #2B7232 #3C9E45 #58C062

Accessibility & contrast

On white

5.91
#2B7232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2B7232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7232
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7232#FFFFFF#000000##FFFFFF
##2B72321.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682C
Deuteranopia (green-blind)
#6B6237
Tritanopia (blue-blind)
#1C6F64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b7232;
/* rgb */ color: rgb(43, 114, 50);
/* oklch */ color: oklch(49.1% 0.121 145.2);
Tailwind
colors: {
  custom: {
    50: '#6d9b6b',
    500: '#2b7232',
    950: '#000000',
  },
}
SCSS
$custom: #2b7232;
$custom-light: #6d9b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7232",
  "rgb": {
    "r": 43,
    "g": 114,
    "b": 50
  },
  "hsl": {
    "h": 125.915,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49138,
    "c": 0.12051,
    "h": 145.2
  },
  "luminance": 0.12779
}

Semantic roles & 50–950 ramp

primary
#2B7232
secondary
#A4559C
accent
#53C8D5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #2B7232

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

Preview Lab → · Contrast checker → · Palette generator →

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