#2C7D2E#2C7D2E

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

Color values

HEX#2C7D2E
RGBrgb(44, 125, 46)
HSLhsl(121, 48%, 33%)
HSVhsv(121, 65%, 49%)
CMYKcmyk(64.8%, 0%, 63.2%, 51%)
CIE-LABlab(46.18, -41.25, 35.16)
CIE-LCHlch(46.18, 54.20, 139.56°)
OKLaboklab(52.23% -0.1119 0.0824)
OKLCHoklch(52.23% 0.139 143.6)
XYZxyz(8.8649, 15.3991, 5.0894)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D2E #7D2C7B
analogous
#537D2C #2C7D2E #2C7D56
triadic
#2C7D2E #2E2C7D #7D2E2C
tetradic
#2C7D2E #2C537D #7D2C7B #7D562C
square
#2C7D2E #2C537D #7D2C7B #7D562C
split-complementary
#2C7D2E #562C7D #7D2C53
monochromatic
#0C220D #1C501D #2C7D2E #3CAA3F #5DC660

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7D2E#FFFFFF#000000##FFFFFF
##2C7D2E1.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)
#807225
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#1B7A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7d2e;
/* rgb */ color: rgb(44, 125, 46);
/* oklch */ color: oklch(52.2% 0.139 143.6);
Tailwind
colors: {
  custom: {
    50: '#6fa36a',
    500: '#2c7d2e',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d2e;
$custom-light: #6fa36a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d2e",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 121.481,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52225,
    "c": 0.13901,
    "h": 143.6
  },
  "luminance": 0.154
}

Semantic roles & 50–950 ramp

primary
#2C7D2E
secondary
#AC59AA
accent
#50D4D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C7D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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