#2C6718#2C6718

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

Color values

HEX#2C6718
RGBrgb(44, 103, 24)
HSLhsl(105, 62%, 25%)
HSVhsv(105, 77%, 40%)
CMYKcmyk(57.3%, 0%, 76.7%, 59.6%)
CIE-LABlab(38.38, -34.71, 36.66)
CIE-LCHlch(38.38, 50.48, 133.44°)
OKLaboklab(45.73% -0.0956 0.0829)
OKLCHoklch(45.73% 0.127 139.1)
XYZxyz(6.0536, 10.3014, 2.5334)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6718 #531867
analogous
#546718 #2C6718 #18672B
triadic
#2C6718 #182C67 #67182C
tetradic
#2C6718 #185467 #531867 #672B18
square
#2C6718 #185467 #531867 #672B18
split-complementary
#2C6718 #2B1867 #671854
monochromatic
#0B1906 #17350C #2C6718 #419924 #56CA2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C6718#FFFFFF#000000##FFFFFF
##2C67181.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)
#6A5D0A
Deuteranopia (green-blind)
#635820
Tritanopia (blue-blind)
#266358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c6718;
/* rgb */ color: rgb(44, 103, 24);
/* oklch */ color: oklch(45.7% 0.127 139.1);
Tailwind
colors: {
  custom: {
    50: '#6c935b',
    500: '#2c6718',
    950: '#000000',
  },
}
SCSS
$custom: #2c6718;
$custom-light: #6c935b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6718",
  "rgb": {
    "r": 44,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 104.81,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45725,
    "c": 0.1265,
    "h": 139.1
  },
  "luminance": 0.10302
}

Semantic roles & 50–950 ramp

primary
#2C6718
secondary
#853E9D
accent
#43E5BC
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2C6718

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

Preview Lab → · Contrast checker → · Palette generator →

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