#2C6712#2C6712

#2C6712 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.7% C 0.130 H 138.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2C6712
RGBrgb(44, 103, 18)
HSLhsl(102, 70%, 24%)
HSVhsv(102, 83%, 40%)
CMYKcmyk(57.3%, 0%, 82.5%, 59.6%)
CIE-LABlab(38.34, -35.16, 38.88)
CIE-LCHlch(38.34, 52.42, 132.12°)
OKLaboklab(45.68% -0.0972 0.0866)
OKLCHoklch(45.68% 0.13 138.3)
XYZxyz(5.9979, 10.2792, 2.2402)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6712 #4D1267
analogous
#566712 #2C6712 #126722
triadic
#2C6712 #122C67 #67122C
tetradic
#2C6712 #125667 #4D1267 #672212
square
#2C6712 #125667 #4D1267 #672212
split-complementary
#2C6712 #221267 #671256
monochromatic
#0B1A05 #163309 #2C6712 #429B1B #59CF24

Accessibility & contrast

On white

6.87
#2C6712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2C6712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6712
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6712#FFFFFF#000000##FFFFFF
##2C67121.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#276357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c6712;
/* rgb */ color: rgb(44, 103, 18);
/* oklch */ color: oklch(45.7% 0.130 138.3);
Tailwind
colors: {
  custom: {
    50: '#6d9358',
    500: '#2c6712',
    950: '#000000',
  },
}
SCSS
$custom: #2c6712;
$custom-light: #6d9358;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6712",
  "rgb": {
    "r": 44,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 101.647,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4568,
    "c": 0.13014,
    "h": 138.3
  },
  "luminance": 0.1028
}

Semantic roles & 50–950 ramp

primary
#2C6712
secondary
#7F369F
accent
#3BEDB7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2C6712

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

Preview Lab → · Contrast checker → · Palette generator →

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