#2C7E37#2C7E37

#2C7E37 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.132 H 145.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2C7E37
RGBrgb(44, 126, 55)
HSLhsl(128, 48%, 33%)
HSVhsv(128, 65%, 49%)
CMYKcmyk(65.1%, 0%, 56.3%, 50.6%)
CIE-LABlab(46.62, -40.44, 31.16)
CIE-LCHlch(46.62, 51.06, 142.38°)
OKLaboklab(52.63% -0.1094 0.0745)
OKLCHoklch(52.63% 0.132 145.7)
XYZxyz(9.1886, 15.7321, 6.1661)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E37 #7E2C73
analogous
#4A7E2C #2C7E37 #2C7E60
triadic
#2C7E37 #372C7E #7E372C
tetradic
#2C7E37 #2C4A7E #7E2C73 #7E602C
square
#2C7E37 #2C4A7E #7E2C73 #7E602C
split-complementary
#2C7E37 #602C7E #7E2C4A
monochromatic
#0C230F #1C5123 #2C7E37 #3CAB4B #5EC76C

Accessibility & contrast

On white

5.06
#2C7E37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2C7E37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7E37
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E37#FFFFFF#000000##FFFFFF
##2C7E371.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807330
Deuteranopia (green-blind)
#766C3C
Tritanopia (blue-blind)
#177B6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7e37;
/* rgb */ color: rgb(44, 126, 55);
/* oklch */ color: oklch(52.6% 0.132 145.7);
Tailwind
colors: {
  custom: {
    50: '#6fa470',
    500: '#2c7e37',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e37;
$custom-light: #6fa470;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e37",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 55
  },
  "hsl": {
    "h": 128.049,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52626,
    "c": 0.13234,
    "h": 145.7
  },
  "luminance": 0.15733
}

Semantic roles & 50–950 ramp

primary
#2C7E37
secondary
#AD59A2
accent
#50C6D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C7E37

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

Preview Lab → · Contrast checker → · Palette generator →

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