#2C6412#2C6412

#2C6412 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.8% C 0.126 H 138.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2C6412
RGBrgb(44, 100, 18)
HSLhsl(101, 69%, 23%)
HSVhsv(101, 82%, 39%)
CMYKcmyk(56%, 0%, 82%, 60.8%)
CIE-LABlab(37.29, -33.91, 37.88)
CIE-LCHlch(37.29, 50.84, 131.84°)
OKLaboklab(44.81% -0.0938 0.0845)
OKLCHoklch(44.81% 0.126 138)
XYZxyz(5.7049, 9.6930, 2.1425)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6412 #4A1264
analogous
#556412 #2C6412 #126421
triadic
#2C6412 #122C64 #64122C
tetradic
#2C6412 #125564 #4A1264 #642112
square
#2C6412 #125564 #4A1264 #642112
split-complementary
#2C6412 #211264 #641255
monochromatic
#0B1A05 #153009 #2C6412 #43981B #5ACC25

Accessibility & contrast

On white

7.15
#2C6412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2C6412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6412
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6412#FFFFFF#000000##FFFFFF
##2C64121.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B00
Deuteranopia (green-blind)
#60561B
Tritanopia (blue-blind)
#286055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c6412;
/* rgb */ color: rgb(44, 100, 18);
/* oklch */ color: oklch(44.8% 0.126 138.0);
Tailwind
colors: {
  custom: {
    50: '#6c9157',
    500: '#2c6412',
    950: '#000000',
  },
}
SCSS
$custom: #2c6412;
$custom-light: #6c9157;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6412",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 100.976,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44812,
    "c": 0.12625,
    "h": 138
  },
  "luminance": 0.09693
}

Semantic roles & 50–950 ramp

primary
#2C6412
secondary
#7C369C
accent
#3BECB4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D03
muted
#7A7D78

Preview Lab

Preview with #2C6412

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

Preview Lab → · Contrast checker → · Palette generator →

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