#2C7E2D#2C7E2D

#2C7E2D is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.141 H 143.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2C7E2D
RGBrgb(44, 126, 45)
HSLhsl(121, 48%, 33%)
HSVhsv(121, 65%, 49%)
CMYKcmyk(65.1%, 0%, 64.3%, 50.6%)
CIE-LABlab(46.51, -41.76, 36.01)
CIE-LCHlch(46.51, 55.14, 139.23°)
OKLaboklab(52.49% -0.1134 0.0842)
OKLCHoklch(52.49% 0.141 143.4)
XYZxyz(8.9727, 15.6458, 5.0292)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E2D #7E2C7D
analogous
#547E2C #2C7E2D #2C7E56
triadic
#2C7E2D #2D2C7E #7E2D2C
tetradic
#2C7E2D #2C547E #7E2C7D #7E562C
square
#2C7E2D #2C547E #7E2C7D #7E562C
split-complementary
#2C7E2D #562C7E #7E2C54
monochromatic
#0C230D #1C511D #2C7E2D #3CAB3D #5EC75F

Accessibility & contrast

On white

5.09
#2C7E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2C7E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7E2D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E2D#FFFFFF#000000##FFFFFF
##2C7E2D1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817224
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#1B7A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7e2d;
/* rgb */ color: rgb(44, 126, 45);
/* oklch */ color: oklch(52.5% 0.141 143.4);
Tailwind
colors: {
  custom: {
    50: '#70a469',
    500: '#2c7e2d',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e2d;
$custom-light: #70a469;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e2d",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 120.732,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52494,
    "c": 0.14119,
    "h": 143.4
  },
  "luminance": 0.15647
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C7E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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