#2C7F1A#2C7F1A

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

Color values

HEX#2C7F1A
RGBrgb(44, 127, 26)
HSLhsl(109, 66%, 30%)
HSVhsv(109, 80%, 50%)
CMYKcmyk(65.4%, 0%, 79.5%, 50.2%)
CIE-LABlab(46.70, -43.92, 44.14)
CIE-LCHlch(46.70, 62.27, 134.86°)
OKLaboklab(52.6% -0.1203 0.0988)
OKLCHoklch(52.6% 0.156 140.6)
XYZxyz(8.8141, 15.7879, 3.5600)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7F1A #6D1A7F
analogous
#5E7F1A #2C7F1A #1A7F3B
triadic
#2C7F1A #1A2C7F #7F1A2C
tetradic
#2C7F1A #1A5E7F #6D1A7F #7F3B1A
square
#2C7F1A #1A5E7F #6D1A7F #7F3B1A
split-complementary
#2C7F1A #3B1A7F #7F1A5E
monochromatic
#091905 #1A4C10 #2C7F1A #3EB224 #58D73C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7F1A#FFFFFF#000000##FFFFFF
##2C7F1A1.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)
#837302
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#1F7B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7f1a;
/* rgb */ color: rgb(44, 127, 26);
/* oklch */ color: oklch(52.6% 0.156 140.6);
Tailwind
colors: {
  custom: {
    50: '#71a55f',
    500: '#2c7f1a',
    950: '#000000',
  },
}
SCSS
$custom: #2c7f1a;
$custom-light: #71a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7f1a",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 109.307,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.52601,
    "c": 0.15565,
    "h": 140.6
  },
  "luminance": 0.15789
}

Semantic roles & 50–950 ramp

primary
#2C7F1A
secondary
#9F42B3
accent
#3FE9CB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2C7F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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