#2C6E12#2C6E12

#2C6E12 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.139 H 138.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#2C6E12
RGBrgb(44, 110, 18)
HSLhsl(103, 72%, 25%)
HSVhsv(103, 84%, 43%)
CMYKcmyk(60%, 0%, 83.6%, 56.9%)
CIE-LABlab(40.78, -37.97, 41.20)
CIE-LCHlch(40.78, 56.03, 132.67°)
OKLaboklab(47.7% -0.1047 0.0914)
OKLCHoklch(47.7% 0.139 138.9)
XYZxyz(6.7235, 11.7304, 2.4820)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6E12 #54126E
analogous
#5A6E12 #2C6E12 #126E26
triadic
#2C6E12 #122C6E #6E122C
tetradic
#2C6E12 #125A6E #54126E #6E2612
square
#2C6E12 #125A6E #54126E #6E2612
split-complementary
#2C6E12 #26126E #6E125A
monochromatic
#0B1A04 #173909 #2C6E12 #41A31B #56D723

Accessibility & contrast

On white

6.28
#2C6E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2C6E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6E12
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6E12#FFFFFF#000000##FFFFFF
##2C6E121.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726300
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#256A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c6e12;
/* rgb */ color: rgb(44, 110, 18);
/* oklch */ color: oklch(47.7% 0.139 138.9);
Tailwind
colors: {
  custom: {
    50: '#6e9859',
    500: '#2c6e12',
    950: '#000000',
  },
}
SCSS
$custom: #2c6e12;
$custom-light: #6e9859;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6e12",
  "rgb": {
    "r": 44,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 103.043,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47699,
    "c": 0.13902,
    "h": 138.9
  },
  "luminance": 0.11731
}

Semantic roles & 50–950 ramp

primary
#2C6E12
secondary
#8637A5
accent
#39EFBB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C6E12

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

Preview Lab → · Contrast checker → · Palette generator →

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