#2C7F1D#2C7F1D

#2C7F1D is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.154 H 140.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2C7F1D
RGBrgb(44, 127, 29)
HSLhsl(111, 63%, 31%)
HSVhsv(111, 77%, 50%)
CMYKcmyk(65.4%, 0%, 77.2%, 50.2%)
CIE-LABlab(46.71, -43.70, 43.08)
CIE-LCHlch(46.71, 61.36, 135.41°)
OKLaboklab(52.62% -0.1195 0.097)
OKLCHoklch(52.62% 0.154 140.9)
XYZxyz(8.8494, 15.8021, 3.7459)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7F1D #701D7F
analogous
#5D7F1D #2C7F1D #1D7F3F
triadic
#2C7F1D #1D2C7F #7F1D2C
tetradic
#2C7F1D #1D5D7F #701D7F #7F3F1D
square
#2C7F1D #1D5D7F #701D7F #7F3F1D
split-complementary
#2C7F1D #3F1D7F #7F1D5D
monochromatic
#091B06 #1B4D12 #2C7F1D #3DB128 #59D442

Accessibility & contrast

On white

5.05
#2C7F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2C7F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7F1D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7F1D#FFFFFF#000000##FFFFFF
##2C7F1D1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827309
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#1E7B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7f1d;
/* rgb */ color: rgb(44, 127, 29);
/* oklch */ color: oklch(52.6% 0.154 140.9);
Tailwind
colors: {
  custom: {
    50: '#71a560',
    500: '#2c7f1d',
    950: '#000000',
  },
}
SCSS
$custom: #2c7f1d;
$custom-light: #71a560;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7f1d",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 110.816,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52623,
    "c": 0.15394,
    "h": 140.9
  },
  "luminance": 0.15803
}

Semantic roles & 50–950 ramp

primary
#2C7F1D
secondary
#A245B2
accent
#42E6CD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2C7F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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