#2C7D2D#2C7D2D

#2C7D2D is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.140 H 143.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2C7D2D
RGBrgb(44, 125, 45)
HSLhsl(121, 48%, 33%)
HSVhsv(121, 65%, 49%)
CMYKcmyk(64.8%, 0%, 64%, 51%)
CIE-LABlab(46.17, -41.37, 35.63)
CIE-LCHlch(46.17, 54.60, 139.27°)
OKLaboklab(52.21% -0.1123 0.0833)
OKLCHoklch(52.21% 0.14 143.4)
XYZxyz(8.8455, 15.3913, 4.9868)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D2D #7D2C7C
analogous
#537D2C #2C7D2D #2C7D55
triadic
#2C7D2D #2D2C7D #7D2D2C
tetradic
#2C7D2D #2C537D #7D2C7C #7D552C
square
#2C7D2D #2C537D #7D2C7C #7D552C
split-complementary
#2C7D2D #552C7D #7D2C53
monochromatic
#0C220C #1C501D #2C7D2D #3CAA3D #5DC65F

Accessibility & contrast

On white

5.15
#2C7D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2C7D2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D2D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D2D#FFFFFF#000000##FFFFFF
##2C7D2D1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807224
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#1B796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7d2d;
/* rgb */ color: rgb(44, 125, 45);
/* oklch */ color: oklch(52.2% 0.140 143.4);
Tailwind
colors: {
  custom: {
    50: '#70a369',
    500: '#2c7d2d',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d2d;
$custom-light: #70a369;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d2d",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 120.741,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52213,
    "c": 0.13985,
    "h": 143.4
  },
  "luminance": 0.15392
}

Semantic roles & 50–950 ramp

primary
#2C7D2D
secondary
#AC59AB
accent
#50D6D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C7D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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