#2C6A12#2C6A12

#2C6A12 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.134 H 138.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2C6A12
RGBrgb(44, 106, 18)
HSLhsl(102, 71%, 24%)
HSVhsv(102, 83%, 42%)
CMYKcmyk(58.5%, 0%, 83%, 58.4%)
CIE-LABlab(39.39, -36.38, 39.88)
CIE-LCHlch(39.39, 53.98, 132.37°)
OKLaboklab(46.55% -0.1004 0.0887)
OKLCHoklch(46.55% 0.134 138.6)
XYZxyz(6.3017, 10.8867, 2.3414)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6A12 #50126A
analogous
#586A12 #2C6A12 #126A24
triadic
#2C6A12 #122C6A #6A122C
tetradic
#2C6A12 #12586A #50126A #6A2412
square
#2C6A12 #12586A #50126A #6A2412
split-complementary
#2C6A12 #24126A #6A1258
monochromatic
#0B1A04 #163609 #2C6A12 #429E1B #57D324

Accessibility & contrast

On white

6.61
#2C6A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2C6A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6A12
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6A12#FFFFFF#000000##FFFFFF
##2C6A121.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#26665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c6a12;
/* rgb */ color: rgb(44, 106, 18);
/* oklch */ color: oklch(46.5% 0.134 138.6);
Tailwind
colors: {
  custom: {
    50: '#6d9558',
    500: '#2c6a12',
    950: '#000000',
  },
}
SCSS
$custom: #2c6a12;
$custom-light: #6d9558;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6a12",
  "rgb": {
    "r": 44,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 102.273,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46547,
    "c": 0.13398,
    "h": 138.6
  },
  "luminance": 0.10887
}

Semantic roles & 50–950 ramp

primary
#2C6A12
secondary
#8236A2
accent
#3AEEB9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2C6A12

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

Preview Lab → · Contrast checker → · Palette generator →

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