#2C7D1D#2C7D1D

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

Color values

HEX#2C7D1D
RGBrgb(44, 125, 29)
HSLhsl(111, 62%, 30%)
HSVhsv(111, 77%, 49%)
CMYKcmyk(64.8%, 0%, 76.8%, 51%)
CIE-LABlab(46.03, -42.95, 42.40)
CIE-LCHlch(46.03, 60.35, 135.37°)
OKLaboklab(52.06% -0.1175 0.0956)
OKLCHoklch(52.06% 0.151 140.9)
XYZxyz(8.5937, 15.2906, 3.6607)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D1D #6E1D7D
analogous
#5C7D1D #2C7D1D #1D7D3E
triadic
#2C7D1D #1D2C7D #7D1D2C
tetradic
#2C7D1D #1D5C7D #6E1D7D #7D3E1D
square
#2C7D1D #1D5C7D #6E1D7D #7D3E1D
split-complementary
#2C7D1D #3E1D7D #7D1D5C
monochromatic
#091A06 #1B4B11 #2C7D1D #3DAF29 #58D341

Accessibility & contrast

On white

5.17
#2C7D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2C7D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D1D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D1D#FFFFFF#000000##FFFFFF
##2C7D1D1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710A
Deuteranopia (green-blind)
#776A27
Tritanopia (blue-blind)
#1F796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7d1d;
/* rgb */ color: rgb(44, 125, 29);
/* oklch */ color: oklch(52.1% 0.151 140.9);
Tailwind
colors: {
  custom: {
    50: '#70a360',
    500: '#2c7d1d',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d1d;
$custom-light: #70a360;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d1d",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 110.625,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52057,
    "c": 0.15148,
    "h": 140.9
  },
  "luminance": 0.15291
}

Semantic roles & 50–950 ramp

primary
#2C7D1D
secondary
#A045B1
accent
#42E5CC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2C7D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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