#2C7D31#2C7D31

#2C7D31 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.136 H 144.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2C7D31
RGBrgb(44, 125, 49)
HSLhsl(124, 48%, 33%)
HSVhsv(124, 65%, 49%)
CMYKcmyk(64.8%, 0%, 60.8%, 51%)
CIE-LABlab(46.21, -40.87, 33.72)
CIE-LCHlch(46.21, 52.99, 140.47°)
OKLaboklab(52.26% -0.1108 0.0796)
OKLCHoklch(52.26% 0.136 144.3)
XYZxyz(8.9262, 15.4236, 5.4118)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D31 #7D2C78
analogous
#4F7D2C #2C7D31 #2C7D59
triadic
#2C7D31 #312C7D #7D312C
tetradic
#2C7D31 #2C4F7D #7D2C78 #7D592C
square
#2C7D31 #2C4F7D #7D2C78 #7D592C
split-complementary
#2C7D31 #592C7D #7D2C4F
monochromatic
#0C220E #1C501F #2C7D31 #3CAA43 #5DC664

Accessibility & contrast

On white

5.14
#2C7D31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2C7D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D31
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D31#FFFFFF#000000##FFFFFF
##2C7D311.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7229
Deuteranopia (green-blind)
#756B37
Tritanopia (blue-blind)
#1A7A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7d31;
/* rgb */ color: rgb(44, 125, 49);
/* oklch */ color: oklch(52.3% 0.136 144.3);
Tailwind
colors: {
  custom: {
    50: '#6fa36c',
    500: '#2c7d31',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d31;
$custom-light: #6fa36c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d31",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 123.704,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52263,
    "c": 0.13642,
    "h": 144.3
  },
  "luminance": 0.15424
}

Semantic roles & 50–950 ramp

primary
#2C7D31
secondary
#AC59A7
accent
#50CFD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C7D31

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

Preview Lab → · Contrast checker → · Palette generator →

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