#2C7A1B#2C7A1B

#2C7A1B is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.149 H 140.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2C7A1B
RGBrgb(44, 122, 27)
HSLhsl(109, 64%, 29%)
HSVhsv(109, 78%, 48%)
CMYKcmyk(63.9%, 0%, 77.9%, 52.2%)
CIE-LABlab(44.99, -41.98, 42.11)
CIE-LCHlch(44.99, 59.46, 134.91°)
OKLaboklab(51.19% -0.115 0.0947)
OKLCHoklch(51.19% 0.149 140.5)
XYZxyz(8.1957, 14.5329, 3.4099)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7A1B #691B7A
analogous
#5C7A1B #2C7A1B #1B7A3A
triadic
#2C7A1B #1B2C7A #7A1B2C
tetradic
#2C7A1B #1B5C7A #691B7A #7A3A1B
square
#2C7A1B #1B5C7A #691B7A #7A3A1B
split-complementary
#2C7A1B #3A1B7A #7A1B5C
monochromatic
#091906 #1A4810 #2C7A1B #3EAC26 #57D43C

Accessibility & contrast

On white

5.38
#2C7A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2C7A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7A1B
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7A1B#FFFFFF#000000##FFFFFF
##2C7A1B1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E07
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#207668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c7a1b;
/* rgb */ color: rgb(44, 122, 27);
/* oklch */ color: oklch(51.2% 0.149 140.5);
Tailwind
colors: {
  custom: {
    50: '#70a15f',
    500: '#2c7a1b',
    950: '#000000',
  },
}
SCSS
$custom: #2c7a1b;
$custom-light: #70a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7a1b",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 109.263,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5119,
    "c": 0.14897,
    "h": 140.5
  },
  "luminance": 0.14534
}

Semantic roles & 50–950 ramp

primary
#2C7A1B
secondary
#9B43AE
accent
#41E7C9
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2C7A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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