#2C7F11#2C7F11

#2C7F11 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.5% C 0.160 H 139.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2C7F11
RGBrgb(44, 127, 17)
HSLhsl(105, 76%, 28%)
HSVhsv(105, 87%, 50%)
CMYKcmyk(65.4%, 0%, 86.6%, 50.2%)
CIE-LABlab(46.65, -44.46, 46.87)
CIE-LCHlch(46.65, 64.60, 133.48°)
OKLaboklab(52.55% -0.1222 0.1032)
OKLCHoklch(52.55% 0.16 139.8)
XYZxyz(8.7289, 15.7538, 3.1110)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7F11 #64117F
analogous
#637F11 #2C7F11 #117F2D
triadic
#2C7F11 #112C7F #7F112C
tetradic
#2C7F11 #11637F #64117F #7F2D11
square
#2C7F11 #11637F #64117F #7F2D11
split-complementary
#2C7F11 #2D117F #7F1163
monochromatic
#091B04 #19490A #2C7F11 #3FB518 #56E228

Accessibility & contrast

On white

5.06
#2C7F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2C7F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7F11
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7F11#FFFFFF#000000##FFFFFF
##2C7F111.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#207B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7f11;
/* rgb */ color: rgb(44, 127, 17);
/* oklch */ color: oklch(52.5% 0.160 139.8);
Tailwind
colors: {
  custom: {
    50: '#71a55b',
    500: '#2c7f11',
    950: '#000000',
  },
}
SCSS
$custom: #2c7f11;
$custom-light: #71a55b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7f11",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 105.273,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5255,
    "c": 0.15992,
    "h": 139.8
  },
  "luminance": 0.15755
}

Semantic roles & 50–950 ramp

primary
#2C7F11
secondary
#9637B5
accent
#35F3C4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2C7F11

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

Preview Lab → · Contrast checker → · Palette generator →

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