#2C7F1B#2C7F1B

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

Color values

HEX#2C7F1B
RGBrgb(44, 127, 27)
HSLhsl(110, 65%, 30%)
HSVhsv(110, 79%, 50%)
CMYKcmyk(65.4%, 0%, 78.7%, 50.2%)
CIE-LABlab(46.70, -43.85, 43.80)
CIE-LCHlch(46.70, 61.97, 135.03°)
OKLaboklab(52.61% -0.12 0.0982)
OKLCHoklch(52.61% 0.155 140.7)
XYZxyz(8.8255, 15.7925, 3.6199)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7F1B #6E1B7F
analogous
#5E7F1B #2C7F1B #1B7F3C
triadic
#2C7F1B #1B2C7F #7F1B2C
tetradic
#2C7F1B #1B5E7F #6E1B7F #7F3C1B
square
#2C7F1B #1B5E7F #6E1B7F #7F3C1B
split-complementary
#2C7F1B #3C1B7F #7F1B5E
monochromatic
#091A06 #1B4D10 #2C7F1B #3DB126 #58D63E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7F1B#FFFFFF#000000##FFFFFF
##2C7F1B1.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)
#827304
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#1F7B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7f1b;
/* rgb */ color: rgb(44, 127, 27);
/* oklch */ color: oklch(52.6% 0.155 140.7);
Tailwind
colors: {
  custom: {
    50: '#71a55f',
    500: '#2c7f1b',
    950: '#000000',
  },
}
SCSS
$custom: #2c7f1b;
$custom-light: #71a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7f1b",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 109.8,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52608,
    "c": 0.1551,
    "h": 140.7
  },
  "luminance": 0.15793
}

Semantic roles & 50–950 ramp

primary
#2C7F1B
secondary
#A043B3
accent
#40E8CB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2C7F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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