#2C792A#2C792A

#2C792A is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.137 H 142.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2C792A
RGBrgb(44, 121, 42)
HSLhsl(118, 48%, 32%)
HSVhsv(118, 65%, 47%)
CMYKcmyk(63.6%, 0%, 65.3%, 52.5%)
CIE-LABlab(44.77, -40.16, 35.48)
CIE-LCHlch(44.77, 53.59, 138.54°)
OKLaboklab(51.05% -0.1092 0.0827)
OKLCHoklch(51.05% 0.137 142.9)
XYZxyz(8.2935, 14.3766, 4.5279)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C792A #772A79
analogous
#54792A #2C792A #2A7950
triadic
#2C792A #2A2C79 #792A2C
tetradic
#2C792A #2A5479 #772A79 #79502A
square
#2C792A #2A5479 #772A79 #79502A
split-complementary
#2C792A #502A79 #792A54
monochromatic
#0B1E0A #1B4C1A #2C792A #3DA63A #5BC558

Accessibility & contrast

On white

5.42
#2C792A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2C792A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C792A
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C792A#FFFFFF#000000##FFFFFF
##2C792A1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E21
Deuteranopia (green-blind)
#726731
Tritanopia (blue-blind)
#1E7568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c792a;
/* rgb */ color: rgb(44, 121, 42);
/* oklch */ color: oklch(51.0% 0.137 142.9);
Tailwind
colors: {
  custom: {
    50: '#6fa067',
    500: '#2c792a',
    950: '#000000',
  },
}
SCSS
$custom: #2c792a;
$custom-light: #6fa067;
$custom-dark: #000000;
JSON
{
  "hex": "#2c792a",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 118.481,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51049,
    "c": 0.13698,
    "h": 142.9
  },
  "luminance": 0.14377
}

Semantic roles & 50–950 ramp

primary
#2C792A
secondary
#A854AB
accent
#50D8D5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2C792A

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

Preview Lab → · Contrast checker → · Palette generator →

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