#2C7A2D#2C7A2D

#2C7A2D is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.4% C 0.136 H 143.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2C7A2D
RGBrgb(44, 122, 45)
HSLhsl(121, 47%, 33%)
HSVhsv(121, 64%, 48%)
CMYKcmyk(63.9%, 0%, 63.1%, 52.2%)
CIE-LABlab(45.14, -40.20, 34.46)
CIE-LCHlch(45.14, 52.95, 139.39°)
OKLaboklab(51.37% -0.1091 0.0808)
OKLCHoklch(51.37% 0.136 143.5)
XYZxyz(8.4714, 14.6432, 4.8621)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7A2D #7A2C79
analogous
#527A2C #2C7A2D #2C7A54
triadic
#2C7A2D #2D2C7A #7A2D2C
tetradic
#2C7A2D #2C527A #7A2C79 #7A542C
square
#2C7A2D #2C527A #7A2C79 #7A542C
split-complementary
#2C7A2D #542C7A #7A2C52
monochromatic
#0C200C #1C4D1C #2C7A2D #3CA73E #5CC45D

Accessibility & contrast

On white

5.35
#2C7A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C7A2D
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7A2D#FFFFFF#000000##FFFFFF
##2C7A2D1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F25
Deuteranopia (green-blind)
#736833
Tritanopia (blue-blind)
#1D7769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c7a2d;
/* rgb */ color: rgb(44, 122, 45);
/* oklch */ color: oklch(51.4% 0.136 143.5);
Tailwind
colors: {
  custom: {
    50: '#6fa169',
    500: '#2c7a2d',
    950: '#000000',
  },
}
SCSS
$custom: #2c7a2d;
$custom-light: #6fa169;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7a2d",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 120.769,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51367,
    "c": 0.13581,
    "h": 143.5
  },
  "luminance": 0.14644
}

Semantic roles & 50–950 ramp

primary
#2C7A2D
secondary
#AA57A9
accent
#51D5D7
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C7A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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