#2C6212#2C6212

#2C6212 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.2% C 0.124 H 137.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2C6212
RGBrgb(44, 98, 18)
HSLhsl(101, 69%, 23%)
HSVhsv(101, 82%, 38%)
CMYKcmyk(55.1%, 0%, 81.6%, 61.6%)
CIE-LABlab(36.58, -33.07, 37.20)
CIE-LCHlch(36.58, 49.78, 131.64°)
OKLaboklab(44.23% -0.0916 0.0831)
OKLCHoklch(44.23% 0.124 137.8)
XYZxyz(5.5154, 9.3141, 2.0793)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6212 #481262
analogous
#546212 #2C6212 #126220
triadic
#2C6212 #122C62 #62122C
tetradic
#2C6212 #125462 #481262 #622012
square
#2C6212 #125462 #481262 #622012
split-complementary
#2C6212 #201262 #621254
monochromatic
#0C1A05 #152E09 #2C6212 #43961B #5AC925

Accessibility & contrast

On white

7.33
#2C6212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2C6212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6212
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6212#FFFFFF#000000##FFFFFF
##2C62121.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655901
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#285E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c6212;
/* rgb */ color: rgb(44, 98, 18);
/* oklch */ color: oklch(44.2% 0.124 137.8);
Tailwind
colors: {
  custom: {
    50: '#6c8f57',
    500: '#2c6212',
    950: '#000000',
  },
}
SCSS
$custom: #2c6212;
$custom-light: #6c8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6212",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 100.5,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44232,
    "c": 0.12362,
    "h": 137.8
  },
  "luminance": 0.09315
}

Semantic roles & 50–950 ramp

primary
#2C6212
secondary
#79369A
accent
#3CECB3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C6212

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

Preview Lab → · Contrast checker → · Palette generator →

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