#2C7E1C#2C7E1C

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

Color values

HEX#2C7E1C
RGBrgb(44, 126, 28)
HSLhsl(110, 64%, 30%)
HSVhsv(110, 78%, 49%)
CMYKcmyk(65.1%, 0%, 77.8%, 50.6%)
CIE-LABlab(46.37, -43.41, 43.10)
CIE-LCHlch(46.37, 61.17, 135.20°)
OKLaboklab(52.33% -0.1188 0.0969)
OKLCHoklch(52.33% 0.153 140.8)
XYZxyz(8.7087, 15.5402, 3.6390)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E1C #6E1C7E
analogous
#5D7E1C #2C7E1C #1C7E3D
triadic
#2C7E1C #1C2C7E #7E1C2C
tetradic
#2C7E1C #1C5D7E #6E1C7E #7E3D1C
square
#2C7E1C #1C5D7E #6E1C7E #7E3D1C
split-complementary
#2C7E1C #3D1C7E #7E1C5D
monochromatic
#091A06 #1B4C11 #2C7E1C #3DB027 #58D540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7E1C#FFFFFF#000000##FFFFFF
##2C7E1C1.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)
#817207
Deuteranopia (green-blind)
#786B27
Tritanopia (blue-blind)
#1F7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7e1c;
/* rgb */ color: rgb(44, 126, 28);
/* oklch */ color: oklch(52.3% 0.153 140.8);
Tailwind
colors: {
  custom: {
    50: '#71a460',
    500: '#2c7e1c',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e1c;
$custom-light: #71a460;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e1c",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 110.204,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52332,
    "c": 0.15331,
    "h": 140.8
  },
  "luminance": 0.15541
}

Semantic roles & 50–950 ramp

primary
#2C7E1C
secondary
#A044B2
accent
#41E7CC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2C7E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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