#2C792F#2C792F

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

Color values

HEX#2C792F
RGBrgb(44, 121, 47)
HSLhsl(122, 47%, 32%)
HSVhsv(122, 64%, 47%)
CMYKcmyk(63.6%, 0%, 61.2%, 52.5%)
CIE-LABlab(44.82, -39.55, 33.11)
CIE-LCHlch(44.82, 51.58, 140.07°)
OKLaboklab(51.11% -0.1073 0.0781)
OKLCHoklch(51.11% 0.133 143.9)
XYZxyz(8.3887, 14.4147, 5.0290)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C792F #792C76
analogous
#4F792C #2C792F #2C7956
triadic
#2C792F #2F2C79 #792F2C
tetradic
#2C792F #2C4F79 #792C76 #79562C
square
#2C792F #2C4F79 #792C76 #79562C
split-complementary
#2C792F #562C79 #792C4F
monochromatic
#0B1F0C #1C4C1E #2C792F #3CA640 #5CC460

Accessibility & contrast

On white

5.41
#2C792F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C792F
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C792F#FFFFFF#000000##FFFFFF
##2C792F1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E27
Deuteranopia (green-blind)
#726735
Tritanopia (blue-blind)
#1C7669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c792f;
/* rgb */ color: rgb(44, 121, 47);
/* oklch */ color: oklch(51.1% 0.133 143.9);
Tailwind
colors: {
  custom: {
    50: '#6fa06a',
    500: '#2c792f',
    950: '#000000',
  },
}
SCSS
$custom: #2c792f;
$custom-light: #6fa06a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c792f",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 122.338,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5111,
    "c": 0.1327,
    "h": 143.9
  },
  "luminance": 0.14415
}

Semantic roles & 50–950 ramp

primary
#2C792F
secondary
#AA57A7
accent
#51D1D6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2C792F

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

Preview Lab → · Contrast checker → · Palette generator →

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