#2C6617#2C6617

#2C6617 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.4% C 0.126 H 138.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2C6617
RGBrgb(44, 102, 23)
HSLhsl(104, 63%, 25%)
HSVhsv(104, 77%, 40%)
CMYKcmyk(56.9%, 0%, 77.5%, 60%)
CIE-LABlab(38.02, -34.38, 36.70)
CIE-LCHlch(38.02, 50.29, 133.13°)
OKLaboklab(45.43% -0.0947 0.0828)
OKLCHoklch(45.43% 0.126 138.9)
XYZxyz(5.9445, 10.0996, 2.4466)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6617 #511766
analogous
#546617 #2C6617 #17662A
triadic
#2C6617 #172C66 #66172C
tetradic
#2C6617 #175466 #511766 #662A17
square
#2C6617 #175466 #511766 #662A17
split-complementary
#2C6617 #2A1766 #661754
monochromatic
#0B1906 #16340C #2C6617 #429822 #57CA2E

Accessibility & contrast

On white

6.95
#2C6617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2C6617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6617
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6617#FFFFFF#000000##FFFFFF
##2C66171.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C08
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#276257
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c6617;
/* rgb */ color: rgb(44, 102, 23);
/* oklch */ color: oklch(45.4% 0.126 138.9);
Tailwind
colors: {
  custom: {
    50: '#6c925a',
    500: '#2c6617',
    950: '#000000',
  },
}
SCSS
$custom: #2c6617;
$custom-light: #6c925a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6617",
  "rgb": {
    "r": 44,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 104.051,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45428,
    "c": 0.12583,
    "h": 138.9
  },
  "luminance": 0.101
}

Semantic roles & 50–950 ramp

primary
#2C6617
secondary
#833C9C
accent
#42E6BA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2C6617

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

Preview Lab → · Contrast checker → · Palette generator →

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