#2C7A2E#2C7A2E

#2C7A2E is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.135 H 143.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2C7A2E
RGBrgb(44, 122, 46)
HSLhsl(122, 47%, 33%)
HSVhsv(122, 64%, 48%)
CMYKcmyk(63.9%, 0%, 62.3%, 52.2%)
CIE-LABlab(45.15, -40.07, 33.98)
CIE-LCHlch(45.15, 52.54, 139.70°)
OKLaboklab(51.38% -0.1087 0.0799)
OKLCHoklch(51.38% 0.135 143.7)
XYZxyz(8.4909, 14.6510, 4.9647)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7A2E #7A2C78
analogous
#517A2C #2C7A2E #2C7A55
triadic
#2C7A2E #2E2C7A #7A2E2C
tetradic
#2C7A2E #2C517A #7A2C78 #7A552C
square
#2C7A2E #2C517A #7A2C78 #7A552C
split-complementary
#2C7A2E #552C7A #7A2C51
monochromatic
#0C200C #1C4D1D #2C7A2E #3CA73F #5CC45F

Accessibility & contrast

On white

5.34
#2C7A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2C7A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7A2E
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7A2E#FFFFFF#000000##FFFFFF
##2C7A2E1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F26
Deuteranopia (green-blind)
#736834
Tritanopia (blue-blind)
#1C776A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c7a2e;
/* rgb */ color: rgb(44, 122, 46);
/* oklch */ color: oklch(51.4% 0.135 143.7);
Tailwind
colors: {
  custom: {
    50: '#6fa169',
    500: '#2c7a2e',
    950: '#000000',
  },
}
SCSS
$custom: #2c7a2e;
$custom-light: #6fa169;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7a2e",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 121.538,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51379,
    "c": 0.13495,
    "h": 143.7
  },
  "luminance": 0.14652
}

Semantic roles & 50–950 ramp

primary
#2C7A2E
secondary
#AA57A8
accent
#51D3D7
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C7A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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