#2C7F19#2C7F19

#2C7F19 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.156 H 140.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2C7F19
RGBrgb(44, 127, 25)
HSLhsl(109, 67%, 30%)
HSVhsv(109, 80%, 50%)
CMYKcmyk(65.4%, 0%, 80.3%, 50.2%)
CIE-LABlab(46.69, -43.99, 44.48)
CIE-LCHlch(46.69, 62.56, 134.68°)
OKLaboklab(52.6% -0.1205 0.0993)
OKLCHoklch(52.6% 0.156 140.5)
XYZxyz(8.8031, 15.7835, 3.5021)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7F19 #6C197F
analogous
#5F7F19 #2C7F19 #197F39
triadic
#2C7F19 #192C7F #7F192C
tetradic
#2C7F19 #195F7F #6C197F #7F3919
square
#2C7F19 #195F7F #6C197F #7F3919
split-complementary
#2C7F19 #39197F #7F195F
monochromatic
#091A05 #1A4C0F #2C7F19 #3EB223 #58D83A

Accessibility & contrast

On white

5.05
#2C7F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2C7F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7F19
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7F19#FFFFFF#000000##FFFFFF
##2C7F191.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#1F7B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7f19;
/* rgb */ color: rgb(44, 127, 25);
/* oklch */ color: oklch(52.6% 0.156 140.5);
Tailwind
colors: {
  custom: {
    50: '#71a55e',
    500: '#2c7f19',
    950: '#000000',
  },
}
SCSS
$custom: #2c7f19;
$custom-light: #71a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7f19",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 108.824,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52595,
    "c": 0.15619,
    "h": 140.5
  },
  "luminance": 0.15784
}

Semantic roles & 50–950 ramp

primary
#2C7F19
secondary
#9E41B3
accent
#3EEACA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2C7F19

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

Preview Lab → · Contrast checker → · Palette generator →

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