#2C7F14#2C7F14

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

Color values

HEX#2C7F14
RGBrgb(44, 127, 20)
HSLhsl(107, 73%, 29%)
HSVhsv(107, 84%, 50%)
CMYKcmyk(65.4%, 0%, 84.3%, 50.2%)
CIE-LABlab(46.66, -44.30, 46.04)
CIE-LCHlch(46.66, 63.89, 133.89°)
OKLaboklab(52.57% -0.1216 0.1019)
OKLCHoklch(52.57% 0.159 140.1)
XYZxyz(8.7539, 15.7639, 3.2431)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7F14 #67147F
analogous
#627F14 #2C7F14 #147F32
triadic
#2C7F14 #142C7F #7F142C
tetradic
#2C7F14 #14627F #67147F #7F3214
square
#2C7F14 #14627F #67147F #7F3214
split-complementary
#2C7F14 #32147F #7F1462
monochromatic
#091A04 #1A4A0C #2C7F14 #3EB41C #56DE2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7F14#FFFFFF#000000##FFFFFF
##2C7F141.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)
#796C21
Tritanopia (blue-blind)
#207B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7f14;
/* rgb */ color: rgb(44, 127, 20);
/* oklch */ color: oklch(52.6% 0.159 140.1);
Tailwind
colors: {
  custom: {
    50: '#71a55c',
    500: '#2c7f14',
    950: '#000000',
  },
}
SCSS
$custom: #2c7f14;
$custom-light: #71a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7f14",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 106.542,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52565,
    "c": 0.15865,
    "h": 140.1
  },
  "luminance": 0.15765
}

Semantic roles & 50–950 ramp

primary
#2C7F14
secondary
#993BB4
accent
#38EFC6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2C7F14

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

Preview Lab → · Contrast checker → · Palette generator →

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