#2C7B1E#2C7B1E

#2C7B1E is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.148 H 140.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2C7B1E
RGBrgb(44, 123, 30)
HSLhsl(111, 61%, 30%)
HSVhsv(111, 76%, 48%)
CMYKcmyk(64.2%, 0%, 75.6%, 51.8%)
CIE-LABlab(45.35, -42.12, 41.33)
CIE-LCHlch(45.35, 59.01, 135.54°)
OKLaboklab(51.5% -0.1152 0.0935)
OKLCHoklch(51.5% 0.148 140.9)
XYZxyz(8.3556, 14.7943, 3.6433)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7B1E #6D1E7B
analogous
#5A7B1E #2C7B1E #1E7B3F
triadic
#2C7B1E #1E2C7B #7B1E2C
tetradic
#2C7B1E #1E5A7B #6D1E7B #7B3F1E
square
#2C7B1E #1E5A7B #6D1E7B #7B3F1E
split-complementary
#2C7B1E #3F1E7B #7B1E5A
monochromatic
#091906 #1A4A12 #2C7B1E #3EAC2A #58D142

Accessibility & contrast

On white

5.30
#2C7B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2C7B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7B1E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7B1E#FFFFFF#000000##FFFFFF
##2C7B1E1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#207769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c7b1e;
/* rgb */ color: rgb(44, 123, 30);
/* oklch */ color: oklch(51.5% 0.148 140.9);
Tailwind
colors: {
  custom: {
    50: '#70a260',
    500: '#2c7b1e',
    950: '#000000',
  },
}
SCSS
$custom: #2c7b1e;
$custom-light: #70a260;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7b1e",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 110.968,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.51498,
    "c": 0.14838,
    "h": 140.9
  },
  "luminance": 0.14795
}

Semantic roles & 50–950 ramp

primary
#2C7B1E
secondary
#9F46AE
accent
#44E4CC
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2C7B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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