#2C6F17#2C6F17

#2C6F17 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.138 H 139.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#2C6F17
RGBrgb(44, 111, 23)
HSLhsl(106, 66%, 26%)
HSVhsv(106, 79%, 44%)
CMYKcmyk(60.4%, 0%, 79.3%, 56.5%)
CIE-LABlab(41.16, -38.03, 39.82)
CIE-LCHlch(41.16, 55.06, 133.68°)
OKLaboklab(48.02% -0.1046 0.0893)
OKLCHoklch(48.02% 0.138 139.5)
XYZxyz(6.8775, 11.9656, 2.7576)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6F17 #5A176F
analogous
#586F17 #2C6F17 #176F2E
triadic
#2C6F17 #172C6F #6F172C
tetradic
#2C6F17 #17586F #5A176F #6F2E17
square
#2C6F17 #17586F #5A176F #6F2E17
split-complementary
#2C6F17 #2E176F #6F1758
monochromatic
#0A1905 #183C0C #2C6F17 #40A222 #55D32D

Accessibility & contrast

On white

6.19
#2C6F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2C6F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6F17
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6F17#FFFFFF#000000##FFFFFF
##2C6F171.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#246B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2c6f17;
/* rgb */ color: rgb(44, 111, 23);
/* oklch */ color: oklch(48.0% 0.138 139.5);
Tailwind
colors: {
  custom: {
    50: '#6e995b',
    500: '#2c6f17',
    950: '#000000',
  },
}
SCSS
$custom: #2c6f17;
$custom-light: #6e995b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6f17",
  "rgb": {
    "r": 44,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 105.682,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4802,
    "c": 0.13754,
    "h": 139.5
  },
  "luminance": 0.11966
}

Semantic roles & 50–950 ramp

primary
#2C6F17
secondary
#8C3DA5
accent
#3FE9C0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2C6F17

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

Preview Lab → · Contrast checker → · Palette generator →

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