#2C6912#2C6912

#2C6912 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.3% C 0.133 H 138.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2C6912
RGBrgb(44, 105, 18)
HSLhsl(102, 71%, 24%)
HSVhsv(102, 83%, 41%)
CMYKcmyk(58.1%, 0%, 82.9%, 58.8%)
CIE-LABlab(39.04, -35.97, 39.55)
CIE-LCHlch(39.04, 53.46, 132.29°)
OKLaboklab(46.26% -0.0994 0.088)
OKLCHoklch(46.26% 0.133 138.5)
XYZxyz(6.1992, 10.6818, 2.3073)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6912 #4F1269
analogous
#586912 #2C6912 #126924
triadic
#2C6912 #122C69 #69122C
tetradic
#2C6912 #125869 #4F1269 #692412
square
#2C6912 #125869 #4F1269 #692412
split-complementary
#2C6912 #241269 #691258
monochromatic
#0B1A04 #163509 #2C6912 #429D1B #58D124

Accessibility & contrast

On white

6.70
#2C6912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2C6912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6912
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6912#FFFFFF#000000##FFFFFF
##2C69121.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#266559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c6912;
/* rgb */ color: rgb(44, 105, 18);
/* oklch */ color: oklch(46.3% 0.133 138.5);
Tailwind
colors: {
  custom: {
    50: '#6d9458',
    500: '#2c6912',
    950: '#000000',
  },
}
SCSS
$custom: #2c6912;
$custom-light: #6d9458;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6912",
  "rgb": {
    "r": 44,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 102.069,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46258,
    "c": 0.13271,
    "h": 138.5
  },
  "luminance": 0.10682
}

Semantic roles & 50–950 ramp

primary
#2C6912
secondary
#8136A1
accent
#3AEDB8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2C6912

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

Preview Lab → · Contrast checker → · Palette generator →

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