#2C6418#2C6418

#2C6418 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.9% C 0.122 H 138.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2C6418
RGBrgb(44, 100, 24)
HSLhsl(104, 61%, 24%)
HSVhsv(104, 76%, 39%)
CMYKcmyk(56%, 0%, 76%, 60.8%)
CIE-LABlab(37.33, -33.45, 35.59)
CIE-LCHlch(37.33, 48.84, 133.23°)
OKLaboklab(44.86% -0.0922 0.0806)
OKLCHoklch(44.86% 0.122 138.8)
XYZxyz(5.7605, 9.7153, 2.4357)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6418 #501864
analogous
#526418 #2C6418 #18642A
triadic
#2C6418 #182C64 #64182C
tetradic
#2C6418 #185264 #501864 #642A18
square
#2C6418 #185264 #501864 #642A18
split-complementary
#2C6418 #2A1864 #641852
monochromatic
#0B1906 #16330C #2C6418 #429524 #57C730

Accessibility & contrast

On white

7.14
#2C6418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2C6418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6418
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6418#FFFFFF#000000##FFFFFF
##2C64181.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0B
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#276055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c6418;
/* rgb */ color: rgb(44, 100, 24);
/* oklch */ color: oklch(44.9% 0.122 138.8);
Tailwind
colors: {
  custom: {
    50: '#6c915a',
    500: '#2c6418',
    950: '#000000',
  },
}
SCSS
$custom: #2c6418;
$custom-light: #6c915a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6418",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 104.211,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44859,
    "c": 0.12247,
    "h": 138.8
  },
  "luminance": 0.09716
}

Semantic roles & 50–950 ramp

primary
#2C6418
secondary
#823E9A
accent
#43E4BA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #2C6418

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

Preview Lab → · Contrast checker → · Palette generator →

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