#2C7E1B#2C7E1B

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

Color values

HEX#2C7E1B
RGBrgb(44, 126, 27)
HSLhsl(110, 65%, 30%)
HSVhsv(110, 79%, 49%)
CMYKcmyk(65.1%, 0%, 78.6%, 50.6%)
CIE-LABlab(46.36, -43.48, 43.46)
CIE-LCHlch(46.36, 61.48, 135.01°)
OKLaboklab(52.33% -0.119 0.0975)
OKLCHoklch(52.33% 0.154 140.7)
XYZxyz(8.6970, 15.5355, 3.5770)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E1B #6D1B7E
analogous
#5D7E1B #2C7E1B #1B7E3C
triadic
#2C7E1B #1B2C7E #7E1B2C
tetradic
#2C7E1B #1B5D7E #6D1B7E #7E3C1B
square
#2C7E1B #1B5D7E #6D1B7E #7E3C1B
split-complementary
#2C7E1B #3C1B7E #7E1B5D
monochromatic
#091905 #1A4C10 #2C7E1B #3EB026 #58D63E

Accessibility & contrast

On white

5.11
#2C7E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2C7E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7E1B
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E1B#FFFFFF#000000##FFFFFF
##2C7E1B1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817205
Deuteranopia (green-blind)
#786B26
Tritanopia (blue-blind)
#1F7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7e1b;
/* rgb */ color: rgb(44, 126, 27);
/* oklch */ color: oklch(52.3% 0.154 140.7);
Tailwind
colors: {
  custom: {
    50: '#71a45f',
    500: '#2c7e1b',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e1b;
$custom-light: #71a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e1b",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 109.697,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.52325,
    "c": 0.15389,
    "h": 140.7
  },
  "luminance": 0.15536
}

Semantic roles & 50–950 ramp

primary
#2C7E1B
secondary
#9F43B2
accent
#40E8CB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2C7E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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