#2C7835#2C7835

#2C7835 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.126 H 145.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2C7835
RGBrgb(44, 120, 53)
HSLhsl(127, 46%, 32%)
HSVhsv(127, 63%, 47%)
CMYKcmyk(63.3%, 0%, 55.8%, 52.9%)
CIE-LABlab(44.55, -38.31, 29.71)
CIE-LCHlch(44.55, 48.49, 142.21°)
OKLaboklab(50.91% -0.1037 0.0712)
OKLCHoklch(50.91% 0.126 145.5)
XYZxyz(8.3973, 14.2247, 5.6706)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7835 #782C6F
analogous
#49782C #2C7835 #2C785B
triadic
#2C7835 #352C78 #78352C
tetradic
#2C7835 #2C4978 #782C6F #785B2C
square
#2C7835 #2C4978 #782C6F #785B2C
split-complementary
#2C7835 #5B2C78 #782C49
monochromatic
#0B1E0D #1C4B21 #2C7835 #3CA549 #5BC368

Accessibility & contrast

On white

5.46
#2C7835 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#2C7835 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7835
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7835#FFFFFF#000000##FFFFFF
##2C78351.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D2F
Deuteranopia (green-blind)
#70673A
Tritanopia (blue-blind)
#1B7569
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c7835;
/* rgb */ color: rgb(44, 120, 53);
/* oklch */ color: oklch(50.9% 0.126 145.5);
Tailwind
colors: {
  custom: {
    50: '#6ea06e',
    500: '#2c7835',
    950: '#000000',
  },
}
SCSS
$custom: #2c7835;
$custom-light: #6ea06e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7835",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 53
  },
  "hsl": {
    "h": 127.105,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.50912,
    "c": 0.12578,
    "h": 145.5
  },
  "luminance": 0.14225
}

Semantic roles & 50–950 ramp

primary
#2C7835
secondary
#A9579F
accent
#52C6D6
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2C7835

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

Preview Lab → · Contrast checker → · Palette generator →

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