#2C7239#2C7239

#2C7239 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.3% C 0.113 H 147.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2C7239
RGBrgb(44, 114, 57)
HSLhsl(131, 44%, 31%)
HSVhsv(131, 61%, 45%)
CMYKcmyk(61.4%, 0%, 50%, 55.3%)
CIE-LABlab(42.56, -35.18, 25.10)
CIE-LCHlch(42.56, 43.22, 144.50°)
OKLaboklab(49.29% -0.0952 0.0611)
OKLCHoklch(49.29% 0.113 147.3)
XYZxyz(7.7940, 12.8648, 5.9425)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7239 #722C65
analogous
#42722C #2C7239 #2C725C
triadic
#2C7239 #392C72 #72392C
tetradic
#2C7239 #2C4272 #722C65 #725C2C
square
#2C7239 #2C4272 #722C65 #725C2C
split-complementary
#2C7239 #5C2C72 #722C42
monochromatic
#0A1A0D #1B4623 #2C7239 #3D9E4F #59BF6C

Accessibility & contrast

On white

5.88
#2C7239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2C7239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7239
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7239#FFFFFF#000000##FFFFFF
##2C72391.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736834
Deuteranopia (green-blind)
#6A623D
Tritanopia (blue-blind)
#1C7065
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c7239;
/* rgb */ color: rgb(44, 114, 57);
/* oklch */ color: oklch(49.3% 0.113 147.3);
Tailwind
colors: {
  custom: {
    50: '#6d9b70',
    500: '#2c7239',
    950: '#000000',
  },
}
SCSS
$custom: #2c7239;
$custom-light: #6d9b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7239",
  "rgb": {
    "r": 44,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 131.143,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49288,
    "c": 0.1131,
    "h": 147.3
  },
  "luminance": 0.12866
}

Semantic roles & 50–950 ramp

primary
#2C7239
secondary
#A45695
accent
#54BCD4
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #2C7239

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

Preview Lab → · Contrast checker → · Palette generator →

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