#2C7E2E#2C7E2E

#2C7E2E is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.140 H 143.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2C7E2E
RGBrgb(44, 126, 46)
HSLhsl(121, 48%, 33%)
HSVhsv(121, 65%, 49%)
CMYKcmyk(65.1%, 0%, 63.5%, 50.6%)
CIE-LABlab(46.52, -41.64, 35.54)
CIE-LCHlch(46.52, 54.75, 139.51°)
OKLaboklab(52.51% -0.113 0.0833)
OKLCHoklch(52.51% 0.14 143.6)
XYZxyz(8.9922, 15.6536, 5.1318)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E2E #7E2C7C
analogous
#537E2C #2C7E2E #2C7E57
triadic
#2C7E2E #2E2C7E #7E2E2C
tetradic
#2C7E2E #2C537E #7E2C7C #7E572C
square
#2C7E2E #2C537E #7E2C7C #7E572C
split-complementary
#2C7E2E #572C7E #7E2C53
monochromatic
#0C230D #1C511D #2C7E2E #3CAB3F #5EC760

Accessibility & contrast

On white

5.08
#2C7E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C7E2E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E2E#FFFFFF#000000##FFFFFF
##2C7E2E1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817225
Deuteranopia (green-blind)
#766C35
Tritanopia (blue-blind)
#1B7A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7e2e;
/* rgb */ color: rgb(44, 126, 46);
/* oklch */ color: oklch(52.5% 0.140 143.6);
Tailwind
colors: {
  custom: {
    50: '#70a46a',
    500: '#2c7e2e',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e2e;
$custom-light: #70a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e2e",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 121.463,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52506,
    "c": 0.14035,
    "h": 143.6
  },
  "luminance": 0.15654
}

Semantic roles & 50–950 ramp

primary
#2C7E2E
secondary
#AD59AB
accent
#50D5D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C7E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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