#2C7C1A#2C7C1A

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

Color values

HEX#2C7C1A
RGBrgb(44, 124, 26)
HSLhsl(109, 65%, 29%)
HSVhsv(109, 79%, 49%)
CMYKcmyk(64.5%, 0%, 79%, 51.4%)
CIE-LABlab(45.67, -42.81, 43.14)
CIE-LCHlch(45.67, 60.78, 134.78°)
OKLaboklab(51.75% -0.1173 0.0967)
OKLCHoklch(51.75% 0.152 140.5)
XYZxyz(8.4324, 15.0246, 3.4327)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7C1A #6A1A7C
analogous
#5D7C1A #2C7C1A #1A7C39
triadic
#2C7C1A #1A2C7C #7C1A2C
tetradic
#2C7C1A #1A5D7C #6A1A7C #7C391A
square
#2C7C1A #1A5D7C #6A1A7C #7C391A
split-complementary
#2C7C1A #391A7C #7C1A5D
monochromatic
#091905 #1A490F #2C7C1A #3EAF25 #57D63B

Accessibility & contrast

On white

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

On black

4.00
#2C7C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C7C1A#FFFFFF#000000##FFFFFF
##2C7C1A1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#207869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c7c1a;
/* rgb */ color: rgb(44, 124, 26);
/* oklch */ color: oklch(51.8% 0.152 140.5);
Tailwind
colors: {
  custom: {
    50: '#70a35e',
    500: '#2c7c1a',
    950: '#000000',
  },
}
SCSS
$custom: #2c7c1a;
$custom-light: #70a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7c1a",
  "rgb": {
    "r": 44,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 108.98,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51751,
    "c": 0.15201,
    "h": 140.5
  },
  "luminance": 0.15025
}

Semantic roles & 50–950 ramp

primary
#2C7C1A
secondary
#9C42B0
accent
#40E8C9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2C7C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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