#2C6D12#2C6D12

#2C6D12 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.4% C 0.138 H 138.8°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#2C6D12
RGBrgb(44, 109, 18)
HSLhsl(103, 72%, 25%)
HSVhsv(103, 83%, 43%)
CMYKcmyk(59.6%, 0%, 83.5%, 57.3%)
CIE-LABlab(40.44, -37.58, 40.87)
CIE-LCHlch(40.44, 55.52, 132.60°)
OKLaboklab(47.41% -0.1037 0.0907)
OKLCHoklch(47.41% 0.138 138.8)
XYZxyz(6.6163, 11.5159, 2.4463)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6D12 #53126D
analogous
#5A6D12 #2C6D12 #126D25
triadic
#2C6D12 #122C6D #6D122C
tetradic
#2C6D12 #125A6D #53126D #6D2512
square
#2C6D12 #125A6D #53126D #6D2512
split-complementary
#2C6D12 #25126D #6D125A
monochromatic
#0B1A04 #173809 #2C6D12 #41A21B #56D623

Accessibility & contrast

On white

6.36
#2C6D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2C6D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6D12
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6D12#FFFFFF#000000##FFFFFF
##2C6D121.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706300
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#25695C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c6d12;
/* rgb */ color: rgb(44, 109, 18);
/* oklch */ color: oklch(47.4% 0.138 138.8);
Tailwind
colors: {
  custom: {
    50: '#6e9759',
    500: '#2c6d12',
    950: '#000000',
  },
}
SCSS
$custom: #2c6d12;
$custom-light: #6e9759;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6d12",
  "rgb": {
    "r": 44,
    "g": 109,
    "b": 18
  },
  "hsl": {
    "h": 102.857,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47411,
    "c": 0.13777,
    "h": 138.8
  },
  "luminance": 0.11516
}

Semantic roles & 50–950 ramp

primary
#2C6D12
secondary
#8537A4
accent
#39EEBB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2C6D12

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

Preview Lab → · Contrast checker → · Palette generator →

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