#2C7C1E#2C7C1E

#2C7C1E is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.150 H 141.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2C7C1E
RGBrgb(44, 124, 30)
HSLhsl(111, 61%, 30%)
HSVhsv(111, 76%, 49%)
CMYKcmyk(64.5%, 0%, 75.8%, 51.4%)
CIE-LABlab(45.69, -42.50, 41.68)
CIE-LCHlch(45.69, 59.52, 135.56°)
OKLaboklab(51.78% -0.1162 0.0942)
OKLCHoklch(51.78% 0.15 141)
XYZxyz(8.4803, 15.0437, 3.6849)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7C1E #6E1E7C
analogous
#5B7C1E #2C7C1E #1E7C3F
triadic
#2C7C1E #1E2C7C #7C1E2C
tetradic
#2C7C1E #1E5B7C #6E1E7C #7C3F1E
square
#2C7C1E #1E5B7C #6E1E7C #7C3F1E
split-complementary
#2C7C1E #3F1E7C #7C1E5B
monochromatic
#091906 #1B4B12 #2C7C1E #3DAD2A #58D143

Accessibility & contrast

On white

5.24
#2C7C1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2C7C1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7C1E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7C1E#FFFFFF#000000##FFFFFF
##2C7C1E1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700D
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#1F786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c7c1e;
/* rgb */ color: rgb(44, 124, 30);
/* oklch */ color: oklch(51.8% 0.150 141.0);
Tailwind
colors: {
  custom: {
    50: '#70a360',
    500: '#2c7c1e',
    950: '#000000',
  },
}
SCSS
$custom: #2c7c1e;
$custom-light: #70a360;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7c1e",
  "rgb": {
    "r": 44,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 111.064,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51781,
    "c": 0.14962,
    "h": 141
  },
  "luminance": 0.15045
}

Semantic roles & 50–950 ramp

primary
#2C7C1E
secondary
#A046AF
accent
#44E4CC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2C7C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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