#2C7E1D#2C7E1D

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

Color values

HEX#2C7E1D
RGBrgb(44, 126, 29)
HSLhsl(111, 63%, 30%)
HSVhsv(111, 77%, 49%)
CMYKcmyk(65.1%, 0%, 77%, 50.6%)
CIE-LABlab(46.37, -43.33, 42.74)
CIE-LCHlch(46.37, 60.86, 135.39°)
OKLaboklab(52.34% -0.1185 0.0963)
OKLCHoklch(52.34% 0.153 140.9)
XYZxyz(8.7209, 15.5450, 3.7031)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E1D #6F1D7E
analogous
#5C7E1D #2C7E1D #1D7E3F
triadic
#2C7E1D #1D2C7E #7E1D2C
tetradic
#2C7E1D #1D5C7E #6F1D7E #7E3F1D
square
#2C7E1D #1D5C7E #6F1D7E #7E3F1D
split-complementary
#2C7E1D #3F1D7E #7E1D5C
monochromatic
#091B06 #1B4C12 #2C7E1D #3DB028 #58D342

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7E1D#FFFFFF#000000##FFFFFF
##2C7E1D1.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)
#817209
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#1F7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7e1d;
/* rgb */ color: rgb(44, 126, 29);
/* oklch */ color: oklch(52.3% 0.153 140.9);
Tailwind
colors: {
  custom: {
    50: '#71a460',
    500: '#2c7e1d',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e1d;
$custom-light: #71a460;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e1d",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 110.722,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5234,
    "c": 0.15271,
    "h": 140.9
  },
  "luminance": 0.15546
}

Semantic roles & 50–950 ramp

primary
#2C7E1D
secondary
#A145B1
accent
#42E6CC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2C7E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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