#2C7A19#2C7A19

#2C7A19 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.150 H 140.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2C7A19
RGBrgb(44, 122, 25)
HSLhsl(108, 66%, 29%)
HSVhsv(108, 80%, 48%)
CMYKcmyk(63.9%, 0%, 79.5%, 52.2%)
CIE-LABlab(44.98, -42.13, 42.82)
CIE-LCHlch(44.98, 60.07, 134.53°)
OKLaboklab(51.18% -0.1155 0.0959)
OKLCHoklch(51.18% 0.15 140.3)
XYZxyz(8.1733, 14.5240, 3.2922)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7A19 #67197A
analogous
#5D7A19 #2C7A19 #197A37
triadic
#2C7A19 #192C7A #7A192C
tetradic
#2C7A19 #195D7A #67197A #7A3719
square
#2C7A19 #195D7A #67197A #7A3719
split-complementary
#2C7A19 #37197A #7A195D
monochromatic
#091905 #1A470F #2C7A19 #3EAD23 #56D637

Accessibility & contrast

On white

5.38
#2C7A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2C7A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7A19
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7A19#FFFFFF#000000##FFFFFF
##2C7A191.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#217668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c7a19;
/* rgb */ color: rgb(44, 122, 25);
/* oklch */ color: oklch(51.2% 0.150 140.3);
Tailwind
colors: {
  custom: {
    50: '#70a15e',
    500: '#2c7a19',
    950: '#000000',
  },
}
SCSS
$custom: #2c7a19;
$custom-light: #70a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7a19",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 108.247,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51176,
    "c": 0.15013,
    "h": 140.3
  },
  "luminance": 0.14525
}

Semantic roles & 50–950 ramp

primary
#2C7A19
secondary
#9940AF
accent
#3FE9C8
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2C7A19

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

Preview Lab → · Contrast checker → · Palette generator →

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