#2C6417#2C6417

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

Color values

HEX#2C6417
RGBrgb(44, 100, 23)
HSLhsl(104, 63%, 24%)
HSVhsv(104, 77%, 39%)
CMYKcmyk(56%, 0%, 77%, 60.8%)
CIE-LABlab(37.32, -33.54, 35.99)
CIE-LCHlch(37.32, 49.20, 132.98°)
OKLaboklab(44.85% -0.0925 0.0813)
OKLCHoklch(44.85% 0.123 138.7)
XYZxyz(5.7503, 9.7112, 2.3819)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6417 #4F1764
analogous
#536417 #2C6417 #176429
triadic
#2C6417 #172C64 #64172C
tetradic
#2C6417 #175364 #4F1764 #642917
square
#2C6417 #175364 #4F1764 #642917
split-complementary
#2C6417 #291764 #641753
monochromatic
#0B1906 #16320C #2C6417 #429622 #58C82E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C6417#FFFFFF#000000##FFFFFF
##2C64171.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)
#675B09
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#276055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c6417;
/* rgb */ color: rgb(44, 100, 23);
/* oklch */ color: oklch(44.9% 0.123 138.7);
Tailwind
colors: {
  custom: {
    50: '#6c915a',
    500: '#2c6417',
    950: '#000000',
  },
}
SCSS
$custom: #2c6417;
$custom-light: #6c915a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6417",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 103.636,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.4485,
    "c": 0.12315,
    "h": 138.7
  },
  "luminance": 0.09712
}

Semantic roles & 50–950 ramp

primary
#2C6417
secondary
#813C9A
accent
#42E6B9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #2C6417

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

Preview Lab → · Contrast checker → · Palette generator →

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