#2C7E31#2C7E31

#2C7E31 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.138 H 144.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2C7E31
RGBrgb(44, 126, 49)
HSLhsl(124, 48%, 33%)
HSVhsv(124, 65%, 49%)
CMYKcmyk(65.1%, 0%, 61.1%, 50.6%)
CIE-LABlab(46.55, -41.26, 34.12)
CIE-LCHlch(46.55, 53.54, 140.41°)
OKLaboklab(52.54% -0.1118 0.0805)
OKLCHoklch(52.54% 0.138 144.3)
XYZxyz(9.0534, 15.6780, 5.4542)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E31 #7E2C79
analogous
#507E2C #2C7E31 #2C7E5A
triadic
#2C7E31 #312C7E #7E312C
tetradic
#2C7E31 #2C507E #7E2C79 #7E5A2C
square
#2C7E31 #2C507E #7E2C79 #7E5A2C
split-complementary
#2C7E31 #5A2C7E #7E2C50
monochromatic
#0C230E #1C511F #2C7E31 #3CAB43 #5EC764

Accessibility & contrast

On white

5.08
#2C7E31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2C7E31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7E31
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E31#FFFFFF#000000##FFFFFF
##2C7E311.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807329
Deuteranopia (green-blind)
#766C37
Tritanopia (blue-blind)
#1A7B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7e31;
/* rgb */ color: rgb(44, 126, 49);
/* oklch */ color: oklch(52.5% 0.138 144.3);
Tailwind
colors: {
  custom: {
    50: '#70a46c',
    500: '#2c7e31',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e31;
$custom-light: #70a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e31",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 49
  },
  "hsl": {
    "h": 123.659,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52543,
    "c": 0.13777,
    "h": 144.3
  },
  "luminance": 0.15679
}

Semantic roles & 50–950 ramp

primary
#2C7E31
secondary
#AD59A8
accent
#50D0D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C7E31

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

Preview Lab → · Contrast checker → · Palette generator →

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