#2C7E14#2C7E14

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

Color values

HEX#2C7E14
RGBrgb(44, 126, 20)
HSLhsl(106, 73%, 29%)
HSVhsv(106, 84%, 49%)
CMYKcmyk(65.1%, 0%, 84.1%, 50.6%)
CIE-LABlab(46.32, -43.93, 45.73)
CIE-LCHlch(46.32, 63.41, 133.85°)
OKLaboklab(52.28% -0.1206 0.1012)
OKLCHoklch(52.28% 0.157 140)
XYZxyz(8.6254, 15.5069, 3.2003)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E14 #66147E
analogous
#617E14 #2C7E14 #147E31
triadic
#2C7E14 #142C7E #7E142C
tetradic
#2C7E14 #14617E #66147E #7E3114
square
#2C7E14 #14617E #66147E #7E3114
split-complementary
#2C7E14 #31147E #7E1461
monochromatic
#091A04 #1A490C #2C7E14 #3EB31C #56DE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7E14#FFFFFF#000000##FFFFFF
##2C7E141.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: #2c7e14;
/* rgb */ color: rgb(44, 126, 20);
/* oklch */ color: oklch(52.3% 0.157 140.0);
Tailwind
colors: {
  custom: {
    50: '#71a45c',
    500: '#2c7e14',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e14;
$custom-light: #71a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e14",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 106.415,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52281,
    "c": 0.15747,
    "h": 140
  },
  "luminance": 0.15508
}

Semantic roles & 50–950 ramp

primary
#2C7E14
secondary
#983AB3
accent
#38EFC6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2C7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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