#2C7D36#2C7D36

#2C7D36 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.132 H 145.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2C7D36
RGBrgb(44, 125, 54)
HSLhsl(127, 48%, 33%)
HSVhsv(127, 65%, 49%)
CMYKcmyk(64.8%, 0%, 56.8%, 51%)
CIE-LABlab(46.27, -40.19, 31.26)
CIE-LCHlch(46.27, 50.91, 142.12°)
OKLaboklab(52.33% -0.1087 0.0747)
OKLCHoklch(52.33% 0.132 145.5)
XYZxyz(9.0376, 15.4682, 5.9987)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D36 #7D2C73
analogous
#4A7D2C #2C7D36 #2C7D5E
triadic
#2C7D36 #362C7D #7D362C
tetradic
#2C7D36 #2C4A7D #7D2C73 #7D5E2C
square
#2C7D36 #2C4A7D #7D2C73 #7D5E2C
split-complementary
#2C7D36 #5E2C7D #7D2C4A
monochromatic
#0C220F #1C5022 #2C7D36 #3CAA4A #5DC66A

Accessibility & contrast

On white

5.13
#2C7D36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2C7D36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D36
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D36#FFFFFF#000000##FFFFFF
##2C7D361.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722F
Deuteranopia (green-blind)
#756B3B
Tritanopia (blue-blind)
#187A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7d36;
/* rgb */ color: rgb(44, 125, 54);
/* oklch */ color: oklch(52.3% 0.132 145.5);
Tailwind
colors: {
  custom: {
    50: '#6fa36f',
    500: '#2c7d36',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d36;
$custom-light: #6fa36f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d36",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 54
  },
  "hsl": {
    "h": 127.407,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52331,
    "c": 0.13189,
    "h": 145.5
  },
  "luminance": 0.15469
}

Semantic roles & 50–950 ramp

primary
#2C7D36
secondary
#AC59A2
accent
#50C7D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C7D36

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

Preview Lab → · Contrast checker → · Palette generator →

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