#2C7E13#2C7E13

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

Color values

HEX#2C7E13
RGBrgb(44, 126, 19)
HSLhsl(106, 74%, 28%)
HSVhsv(106, 85%, 49%)
CMYKcmyk(65.1%, 0%, 84.9%, 50.6%)
CIE-LABlab(46.32, -43.99, 46.02)
CIE-LCHlch(46.32, 63.66, 133.71°)
OKLaboklab(52.28% -0.1208 0.1017)
OKLCHoklch(52.28% 0.158 139.9)
XYZxyz(8.6167, 15.5034, 3.1543)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E13 #65137E
analogous
#617E13 #2C7E13 #137E2F
triadic
#2C7E13 #132C7E #7E132C
tetradic
#2C7E13 #13617E #65137E #7E2F13
square
#2C7E13 #13617E #65137E #7E2F13
split-complementary
#2C7E13 #2F137E #7E1361
monochromatic
#091B04 #19490B #2C7E13 #3FB31B #56DF2C

Accessibility & contrast

On white

5.12
#2C7E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2C7E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7E13
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E13#FFFFFF#000000##FFFFFF
##2C7E131.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#207A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7e13;
/* rgb */ color: rgb(44, 126, 19);
/* oklch */ color: oklch(52.3% 0.158 139.9);
Tailwind
colors: {
  custom: {
    50: '#71a45c',
    500: '#2c7e13',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e13;
$custom-light: #71a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e13",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 105.981,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52276,
    "c": 0.15791,
    "h": 139.9
  },
  "luminance": 0.15504
}

Semantic roles & 50–950 ramp

primary
#2C7E13
secondary
#9739B4
accent
#37F0C5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2C7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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