#2C792B#2C792B

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

Color values

HEX#2C792B
RGBrgb(44, 121, 43)
HSLhsl(119, 48%, 32%)
HSVhsv(119, 64%, 47%)
CMYKcmyk(63.6%, 0%, 64.5%, 52.5%)
CIE-LABlab(44.78, -40.04, 35.02)
CIE-LCHlch(44.78, 53.19, 138.83°)
OKLaboklab(51.06% -0.1088 0.0818)
OKLCHoklch(51.06% 0.136 143.1)
XYZxyz(8.3117, 14.3838, 4.6234)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C792B #782B79
analogous
#53792B #2C792B #2B7951
triadic
#2C792B #2B2C79 #792B2C
tetradic
#2C792B #2B5379 #782B79 #79512B
square
#2C792B #2B5379 #782B79 #79512B
split-complementary
#2C792B #512B79 #792B53
monochromatic
#0B1F0B #1C4C1B #2C792B #3CA63B #5BC45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C792B#FFFFFF#000000##FFFFFF
##2C792B1.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)
#7C6E22
Deuteranopia (green-blind)
#726732
Tritanopia (blue-blind)
#1D7668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c792b;
/* rgb */ color: rgb(44, 121, 43);
/* oklch */ color: oklch(51.1% 0.136 143.1);
Tailwind
colors: {
  custom: {
    50: '#6fa068',
    500: '#2c792b',
    950: '#000000',
  },
}
SCSS
$custom: #2c792b;
$custom-light: #6fa068;
$custom-dark: #000000;
JSON
{
  "hex": "#2c792b",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 119.231,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5106,
    "c": 0.13615,
    "h": 143.1
  },
  "luminance": 0.14385
}

Semantic roles & 50–950 ramp

primary
#2C792B
secondary
#A956AA
accent
#51D7D5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2C792B

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

Preview Lab → · Contrast checker → · Palette generator →

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