#2C7E2A#2C7E2A

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

Color values

HEX#2C7E2A
RGBrgb(44, 126, 42)
HSLhsl(119, 50%, 33%)
HSVhsv(119, 67%, 49%)
CMYKcmyk(65.1%, 0%, 66.7%, 50.6%)
CIE-LABlab(46.48, -42.10, 37.38)
CIE-LCHlch(46.48, 56.30, 138.40°)
OKLaboklab(52.46% -0.1145 0.0867)
OKLCHoklch(52.46% 0.144 142.8)
XYZxyz(8.9170, 15.6235, 4.7358)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E2A #7C2A7E
analogous
#567E2A #2C7E2A #2A7E52
triadic
#2C7E2A #2A2C7E #7E2A2C
tetradic
#2C7E2A #2A567E #7C2A7E #7E522A
square
#2C7E2A #2A567E #7C2A7E #7E522A
split-complementary
#2C7E2A #522A7E #7E2A56
monochromatic
#0C220B #1C501B #2C7E2A #3CAC39 #5DC85A

Accessibility & contrast

On white

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

On black

4.12
#2C7E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C7E2A#FFFFFF#000000##FFFFFF
##2C7E2A1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817220
Deuteranopia (green-blind)
#776B31
Tritanopia (blue-blind)
#1C7A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7e2a;
/* rgb */ color: rgb(44, 126, 42);
/* oklch */ color: oklch(52.5% 0.144 142.8);
Tailwind
colors: {
  custom: {
    50: '#70a467',
    500: '#2c7e2a',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e2a;
$custom-light: #70a467;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e2a",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 118.571,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5246,
    "c": 0.14361,
    "h": 142.8
  },
  "luminance": 0.15624
}

Semantic roles & 50–950 ramp

primary
#2C7E2A
secondary
#AC56AE
accent
#4EDAD6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C7E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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