#2C7D19#2C7D19

#2C7D19 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.154 H 140.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2C7D19
RGBrgb(44, 125, 25)
HSLhsl(109, 67%, 29%)
HSVhsv(109, 80%, 49%)
CMYKcmyk(64.8%, 0%, 80%, 51%)
CIE-LABlab(46.00, -43.25, 43.82)
CIE-LCHlch(46.00, 61.57, 134.63°)
OKLaboklab(52.03% -0.1185 0.098)
OKLCHoklch(52.03% 0.154 140.4)
XYZxyz(8.5474, 15.2721, 3.4169)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D19 #6A197D
analogous
#5E7D19 #2C7D19 #197D38
triadic
#2C7D19 #192C7D #7D192C
tetradic
#2C7D19 #195E7D #6A197D #7D3819
square
#2C7D19 #195E7D #6A197D #7D3819
split-complementary
#2C7D19 #38197D #7D195E
monochromatic
#091A05 #1A4A0F #2C7D19 #3EB023 #57D739

Accessibility & contrast

On white

5.18
#2C7D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2C7D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D19
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D19#FFFFFF#000000##FFFFFF
##2C7D191.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817101
Deuteranopia (green-blind)
#776A24
Tritanopia (blue-blind)
#20796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7d19;
/* rgb */ color: rgb(44, 125, 25);
/* oklch */ color: oklch(52.0% 0.154 140.4);
Tailwind
colors: {
  custom: {
    50: '#71a35e',
    500: '#2c7d19',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d19;
$custom-light: #71a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d19",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 108.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52028,
    "c": 0.15378,
    "h": 140.4
  },
  "luminance": 0.15273
}

Semantic roles & 50–950 ramp

primary
#2C7D19
secondary
#9C40B1
accent
#3EEAC9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2C7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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