#2C7D1E#2C7D1E

#2C7D1E is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.151 H 141.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2C7D1E
RGBrgb(44, 125, 30)
HSLhsl(111, 61%, 30%)
HSVhsv(111, 76%, 49%)
CMYKcmyk(64.8%, 0%, 76%, 51%)
CIE-LABlab(46.04, -42.88, 42.02)
CIE-LCHlch(46.04, 60.03, 135.58°)
OKLaboklab(52.06% -0.1172 0.0949)
OKLCHoklch(52.06% 0.151 141)
XYZxyz(8.6062, 15.2956, 3.7269)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D1E #6F1E7D
analogous
#5B7D1E #2C7D1E #1E7D3F
triadic
#2C7D1E #1E2C7D #7D1E2C
tetradic
#2C7D1E #1E5B7D #6F1E7D #7D3F1E
square
#2C7D1E #1E5B7D #6F1E7D #7D3F1E
split-complementary
#2C7D1E #3F1E7D #7D1E5B
monochromatic
#091A06 #1B4C12 #2C7D1E #3DAE2A #58D243

Accessibility & contrast

On white

5.17
#2C7D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2C7D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D1E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D1E#FFFFFF#000000##FFFFFF
##2C7D1E1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#766B28
Tritanopia (blue-blind)
#1F796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7d1e;
/* rgb */ color: rgb(44, 125, 30);
/* oklch */ color: oklch(52.1% 0.151 141.0);
Tailwind
colors: {
  custom: {
    50: '#70a361',
    500: '#2c7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d1e;
$custom-light: #70a361;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d1e",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 111.158,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52064,
    "c": 0.15086,
    "h": 141
  },
  "luminance": 0.15296
}

Semantic roles & 50–950 ramp

primary
#2C7D1E
secondary
#A146B0
accent
#43E4CD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2C7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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