#2C7A36#2C7A36

#2C7A36 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.128 H 145.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2C7A36
RGBrgb(44, 122, 54)
HSLhsl(128, 47%, 33%)
HSVhsv(128, 64%, 48%)
CMYKcmyk(63.9%, 0%, 55.7%, 52.2%)
CIE-LABlab(45.25, -38.98, 30.03)
CIE-LCHlch(45.25, 49.21, 142.39°)
OKLaboklab(51.49% -0.1055 0.072)
OKLCHoklch(51.49% 0.128 145.7)
XYZxyz(8.6635, 14.7200, 5.8740)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7A36 #7A2C70
analogous
#497A2C #2C7A36 #2C7A5D
triadic
#2C7A36 #362C7A #7A362C
tetradic
#2C7A36 #2C497A #7A2C70 #7A5D2C
square
#2C7A36 #2C497A #7A2C70 #7A5D2C
split-complementary
#2C7A36 #5D2C7A #7A2C49
monochromatic
#0C200E #1C4D22 #2C7A36 #3CA74A #5CC469

Accessibility & contrast

On white

5.32
#2C7A36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2C7A36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7A36
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7A36#FFFFFF#000000##FFFFFF
##2C7A361.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F30
Deuteranopia (green-blind)
#72683B
Tritanopia (blue-blind)
#1A776B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c7a36;
/* rgb */ color: rgb(44, 122, 54);
/* oklch */ color: oklch(51.5% 0.128 145.7);
Tailwind
colors: {
  custom: {
    50: '#6ea16f',
    500: '#2c7a36',
    950: '#000000',
  },
}
SCSS
$custom: #2c7a36;
$custom-light: #6ea16f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7a36",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 54
  },
  "hsl": {
    "h": 127.692,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5149,
    "c": 0.12767,
    "h": 145.7
  },
  "luminance": 0.14721
}

Semantic roles & 50–950 ramp

primary
#2C7A36
secondary
#AA57A0
accent
#51C6D7
background
#F7FAF6
surface
#EDF3EC
border
#C8CDC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C7A36

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

Preview Lab → · Contrast checker → · Palette generator →

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