#2C7939#2C7939

#2C7939 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.3% C 0.123 H 146.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2C7939
RGBrgb(44, 121, 57)
HSLhsl(130, 47%, 32%)
HSVhsv(130, 64%, 47%)
CMYKcmyk(63.6%, 0%, 52.9%, 52.5%)
CIE-LABlab(44.95, -38.12, 28.07)
CIE-LCHlch(44.95, 47.34, 143.63°)
OKLaboklab(51.26% -0.103 0.0678)
OKLCHoklch(51.26% 0.123 146.7)
XYZxyz(8.6140, 14.5048, 6.2159)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7939 #792C6C
analogous
#45792C #2C7939 #2C7960
triadic
#2C7939 #392C79 #79392C
tetradic
#2C7939 #2C4579 #792C6C #79602C
square
#2C7939 #2C4579 #792C6C #79602C
split-complementary
#2C7939 #602C79 #792C45
monochromatic
#0B1F0F #1C4C24 #2C7939 #3CA64E #5CC46D

Accessibility & contrast

On white

5.38
#2C7939 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2C7939 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7939
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7939#FFFFFF#000000##FFFFFF
##2C79391.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E34
Deuteranopia (green-blind)
#71683E
Tritanopia (blue-blind)
#19766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c7939;
/* rgb */ color: rgb(44, 121, 57);
/* oklch */ color: oklch(51.3% 0.123 146.7);
Tailwind
colors: {
  custom: {
    50: '#6ea071',
    500: '#2c7939',
    950: '#000000',
  },
}
SCSS
$custom: #2c7939;
$custom-light: #6ea071;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7939",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 57
  },
  "hsl": {
    "h": 130.13,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51256,
    "c": 0.12335,
    "h": 146.7
  },
  "luminance": 0.14506
}

Semantic roles & 50–950 ramp

primary
#2C7939
secondary
#AA579C
accent
#51C0D6
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2C7939

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

Preview Lab → · Contrast checker → · Palette generator →

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