#2C7014#2C7014

#2C7014 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.140 H 139.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2C7014
RGBrgb(44, 112, 20)
HSLhsl(104, 70%, 26%)
HSVhsv(104, 82%, 44%)
CMYKcmyk(60.7%, 0%, 82.1%, 56.1%)
CIE-LABlab(41.49, -38.63, 41.20)
CIE-LCHlch(41.49, 56.48, 133.16°)
OKLaboklab(48.29% -0.1064 0.0917)
OKLCHoklch(48.29% 0.14 139.2)
XYZxyz(6.9589, 12.1737, 2.6447)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7014 #581470
analogous
#5A7014 #2C7014 #14702A
triadic
#2C7014 #142C70 #70142C
tetradic
#2C7014 #145A70 #581470 #702A14
square
#2C7014 #145A70 #581470 #702A14
split-complementary
#2C7014 #2A1470 #70145A
monochromatic
#0A1A05 #183C0B #2C7014 #40A41D #55D827

Accessibility & contrast

On white

6.11
#2C7014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2C7014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7014
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7014#FFFFFF#000000##FFFFFF
##2C70141.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#246C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2c7014;
/* rgb */ color: rgb(44, 112, 20);
/* oklch */ color: oklch(48.3% 0.140 139.2);
Tailwind
colors: {
  custom: {
    50: '#6e9a5a',
    500: '#2c7014',
    950: '#000000',
  },
}
SCSS
$custom: #2c7014;
$custom-light: #6e9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7014",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 104.348,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48286,
    "c": 0.14048,
    "h": 139.2
  },
  "luminance": 0.12174
}

Semantic roles & 50–950 ramp

primary
#2C7014
secondary
#8A39A6
accent
#3BEDBE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7014

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

Preview Lab → · Contrast checker → · Palette generator →

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