#2C6717#2C6717

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

Color values

HEX#2C6717
RGBrgb(44, 103, 23)
HSLhsl(104, 63%, 25%)
HSVhsv(104, 78%, 40%)
CMYKcmyk(57.3%, 0%, 77.7%, 59.6%)
CIE-LABlab(38.37, -34.79, 37.05)
CIE-LCHlch(38.37, 50.83, 133.20°)
OKLaboklab(45.72% -0.0959 0.0835)
OKLCHoklch(45.72% 0.127 138.9)
XYZxyz(6.0434, 10.2973, 2.4796)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6717 #521767
analogous
#546717 #2C6717 #17672A
triadic
#2C6717 #172C67 #67172C
tetradic
#2C6717 #175467 #521767 #672A17
square
#2C6717 #175467 #521767 #672A17
split-complementary
#2C6717 #2A1767 #671754
monochromatic
#0B1906 #17350C #2C6717 #419922 #57CB2D

Accessibility & contrast

On white

6.86
#2C6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C6717
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6717#FFFFFF#000000##FFFFFF
##2C67171.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D08
Deuteranopia (green-blind)
#63581F
Tritanopia (blue-blind)
#266358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c6717;
/* rgb */ color: rgb(44, 103, 23);
/* oklch */ color: oklch(45.7% 0.127 138.9);
Tailwind
colors: {
  custom: {
    50: '#6c935a',
    500: '#2c6717',
    950: '#000000',
  },
}
SCSS
$custom: #2c6717;
$custom-light: #6c935a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6717",
  "rgb": {
    "r": 44,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 104.25,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45717,
    "c": 0.12715,
    "h": 138.9
  },
  "luminance": 0.10298
}

Semantic roles & 50–950 ramp

primary
#2C6717
secondary
#843D9D
accent
#41E7BB
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2C6717

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

Preview Lab → · Contrast checker → · Palette generator →

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