#2C7E1A#2C7E1A

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

Color values

HEX#2C7E1A
RGBrgb(44, 126, 26)
HSLhsl(109, 66%, 30%)
HSVhsv(109, 79%, 49%)
CMYKcmyk(65.1%, 0%, 79.4%, 50.6%)
CIE-LABlab(46.35, -43.55, 43.81)
CIE-LCHlch(46.35, 61.77, 134.83°)
OKLaboklab(52.32% -0.1193 0.0981)
OKLCHoklch(52.32% 0.154 140.6)
XYZxyz(8.6856, 15.5309, 3.5171)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E1A #6C1A7E
analogous
#5E7E1A #2C7E1A #1A7E3A
triadic
#2C7E1A #1A2C7E #7E1A2C
tetradic
#2C7E1A #1A5E7E #6C1A7E #7E3A1A
square
#2C7E1A #1A5E7E #6C1A7E #7E3A1A
split-complementary
#2C7E1A #3A1A7E #7E1A5E
monochromatic
#091905 #1A4B10 #2C7E1A #3EB124 #58D73C

Accessibility & contrast

On white

5.11
#2C7E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2C7E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7E1A
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E1A#FFFFFF#000000##FFFFFF
##2C7E1A1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817202
Deuteranopia (green-blind)
#786B25
Tritanopia (blue-blind)
#1F7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7e1a;
/* rgb */ color: rgb(44, 126, 26);
/* oklch */ color: oklch(52.3% 0.154 140.6);
Tailwind
colors: {
  custom: {
    50: '#71a45f',
    500: '#2c7e1a',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e1a;
$custom-light: #71a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e1a",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 109.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52318,
    "c": 0.15445,
    "h": 140.6
  },
  "luminance": 0.15532
}

Semantic roles & 50–950 ramp

primary
#2C7E1A
secondary
#9E42B2
accent
#3FE9CA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2C7E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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