#2C6F12#2C6F12

#2C6F12 is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.0% C 0.140 H 139.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#2C6F12
RGBrgb(44, 111, 18)
HSLhsl(103, 72%, 25%)
HSVhsv(103, 84%, 44%)
CMYKcmyk(60.4%, 0%, 83.8%, 56.5%)
CIE-LABlab(41.13, -38.37, 41.52)
CIE-LCHlch(41.13, 56.53, 132.74°)
OKLaboklab(47.99% -0.1058 0.0921)
OKLCHoklch(47.99% 0.14 139)
XYZxyz(6.8321, 11.9474, 2.5182)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6F12 #55126F
analogous
#5A6F12 #2C6F12 #126F27
triadic
#2C6F12 #122C6F #6F122C
tetradic
#2C6F12 #125A6F #55126F #6F2712
square
#2C6F12 #125A6F #55126F #6F2712
split-complementary
#2C6F12 #27126F #6F125A
monochromatic
#0A1A04 #173A09 #2C6F12 #41A41B #56D823

Accessibility & contrast

On white

6.20
#2C6F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2C6F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6F12
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6F12#FFFFFF#000000##FFFFFF
##2C6F121.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736400
Deuteranopia (green-blind)
#6A5F1D
Tritanopia (blue-blind)
#256B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2c6f12;
/* rgb */ color: rgb(44, 111, 18);
/* oklch */ color: oklch(48.0% 0.140 139.0);
Tailwind
colors: {
  custom: {
    50: '#6e9959',
    500: '#2c6f12',
    950: '#000000',
  },
}
SCSS
$custom: #2c6f12;
$custom-light: #6e9959;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6f12",
  "rgb": {
    "r": 44,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 103.226,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47986,
    "c": 0.14026,
    "h": 139
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

primary
#2C6F12
secondary
#8737A6
accent
#39EFBC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C6F12

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

Preview Lab → · Contrast checker → · Palette generator →

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