#2C7232#2C7232

#2C7232 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.2% C 0.120 H 145.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2C7232
RGBrgb(44, 114, 50)
HSLhsl(125, 44%, 31%)
HSVhsv(125, 61%, 45%)
CMYKcmyk(61.4%, 0%, 56.1%, 55.3%)
CIE-LABlab(42.46, -36.28, 28.77)
CIE-LCHlch(42.46, 46.30, 141.59°)
OKLaboklab(49.18% -0.0983 0.0689)
OKLCHoklch(49.18% 0.12 145)
XYZxyz(7.6313, 12.7997, 5.0854)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7232 #722C6C
analogous
#49722C #2C7232 #2C7255
triadic
#2C7232 #322C72 #72322C
tetradic
#2C7232 #2C4972 #722C6C #72552C
square
#2C7232 #2C4972 #722C6C #72552C
split-complementary
#2C7232 #552C72 #722C49
monochromatic
#0A1A0B #1B461F #2C7232 #3D9E45 #59BF62

Accessibility & contrast

On white

5.90
#2C7232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C7232
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7232#FFFFFF#000000##FFFFFF
##2C72321.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c7232;
/* rgb */ color: rgb(44, 114, 50);
/* oklch */ color: oklch(49.2% 0.120 145.0);
Tailwind
colors: {
  custom: {
    50: '#6d9b6c',
    500: '#2c7232',
    950: '#000000',
  },
}
SCSS
$custom: #2c7232;
$custom-light: #6d9b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7232",
  "rgb": {
    "r": 44,
    "g": 114,
    "b": 50
  },
  "hsl": {
    "h": 125.143,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49175,
    "c": 0.12004,
    "h": 145
  },
  "luminance": 0.128
}

Semantic roles & 50–950 ramp

primary
#2C7232
secondary
#A4569D
accent
#54C9D4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #2C7232

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

Preview Lab → · Contrast checker → · Palette generator →

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