#2C6312#2C6312

#2C6312 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.5% C 0.125 H 137.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2C6312
RGBrgb(44, 99, 18)
HSLhsl(101, 69%, 23%)
HSVhsv(101, 82%, 39%)
CMYKcmyk(55.6%, 0%, 81.8%, 61.2%)
CIE-LABlab(36.93, -33.49, 37.54)
CIE-LCHlch(36.93, 50.31, 131.74°)
OKLaboklab(44.52% -0.0927 0.0838)
OKLCHoklch(44.52% 0.125 137.9)
XYZxyz(5.6095, 9.5024, 2.1107)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6312 #491263
analogous
#546312 #2C6312 #126321
triadic
#2C6312 #122C63 #63122C
tetradic
#2C6312 #125463 #491263 #632112
square
#2C6312 #125463 #491263 #632112
split-complementary
#2C6312 #211263 #631254
monochromatic
#0C1A05 #152F09 #2C6312 #43971B #5ACB25

Accessibility & contrast

On white

7.24
#2C6312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2C6312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6312
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6312#FFFFFF#000000##FFFFFF
##2C63121.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A01
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#285F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c6312;
/* rgb */ color: rgb(44, 99, 18);
/* oklch */ color: oklch(44.5% 0.125 137.9);
Tailwind
colors: {
  custom: {
    50: '#6c9057',
    500: '#2c6312',
    950: '#000000',
  },
}
SCSS
$custom: #2c6312;
$custom-light: #6c9057;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6312",
  "rgb": {
    "r": 44,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 100.741,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44522,
    "c": 0.12494,
    "h": 137.9
  },
  "luminance": 0.09503
}

Semantic roles & 50–950 ramp

primary
#2C6312
secondary
#7B369B
accent
#3CECB3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C6312

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

Preview Lab → · Contrast checker → · Palette generator →

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