#2C792D#2C792D

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

Color values

HEX#2C792D
RGBrgb(44, 121, 45)
HSLhsl(121, 47%, 32%)
HSVhsv(121, 64%, 47%)
CMYKcmyk(63.6%, 0%, 62.8%, 52.5%)
CIE-LABlab(44.80, -39.80, 34.07)
CIE-LCHlch(44.80, 52.39, 139.44°)
OKLaboklab(51.09% -0.1081 0.08)
OKLCHoklch(51.09% 0.134 143.5)
XYZxyz(8.3493, 14.3989, 4.8214)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C792D #792C78
analogous
#52792C #2C792D #2C7953
triadic
#2C792D #2D2C79 #792D2C
tetradic
#2C792D #2C5279 #792C78 #79532C
square
#2C792D #2C5279 #792C78 #79532C
split-complementary
#2C792D #532C79 #792C52
monochromatic
#0B1F0C #1C4C1C #2C792D #3CA63E #5CC45D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C792D#FFFFFF#000000##FFFFFF
##2C792D1.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)
#7B6E25
Deuteranopia (green-blind)
#726733
Tritanopia (blue-blind)
#1D7669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c792d;
/* rgb */ color: rgb(44, 121, 45);
/* oklch */ color: oklch(51.1% 0.134 143.5);
Tailwind
colors: {
  custom: {
    50: '#6fa069',
    500: '#2c792d',
    950: '#000000',
  },
}
SCSS
$custom: #2c792d;
$custom-light: #6fa069;
$custom-dark: #000000;
JSON
{
  "hex": "#2c792d",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 120.779,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51085,
    "c": 0.13445,
    "h": 143.5
  },
  "luminance": 0.144
}

Semantic roles & 50–950 ramp

primary
#2C792D
secondary
#AA57A9
accent
#51D5D6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2C792D

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

Preview Lab → · Contrast checker → · Palette generator →

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