#2C6E17#2C6E17

#2C6E17 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.136 H 139.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#2C6E17
RGBrgb(44, 110, 23)
HSLhsl(106, 65%, 26%)
HSVhsv(106, 79%, 43%)
CMYKcmyk(60%, 0%, 79.1%, 56.9%)
CIE-LABlab(40.81, -37.63, 39.48)
CIE-LCHlch(40.81, 54.54, 133.63°)
OKLaboklab(47.73% -0.1035 0.0886)
OKLCHoklch(47.73% 0.136 139.4)
XYZxyz(6.7690, 11.7486, 2.7214)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6E17 #59176E
analogous
#576E17 #2C6E17 #176E2D
triadic
#2C6E17 #172C6E #6E172C
tetradic
#2C6E17 #17576E #59176E #6E2D17
square
#2C6E17 #17576E #59176E #6E2D17
split-complementary
#2C6E17 #2D176E #6E1757
monochromatic
#0A1905 #183B0C #2C6E17 #40A122 #55D32C

Accessibility & contrast

On white

6.27
#2C6E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2C6E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6E17
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6E17#FFFFFF#000000##FFFFFF
##2C6E171.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716405
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#256A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c6e17;
/* rgb */ color: rgb(44, 110, 23);
/* oklch */ color: oklch(47.7% 0.136 139.4);
Tailwind
colors: {
  custom: {
    50: '#6e985b',
    500: '#2c6e17',
    950: '#000000',
  },
}
SCSS
$custom: #2c6e17;
$custom-light: #6e985b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6e17",
  "rgb": {
    "r": 44,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 105.517,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47732,
    "c": 0.13627,
    "h": 139.4
  },
  "luminance": 0.11749
}

Semantic roles & 50–950 ramp

primary
#2C6E17
secondary
#8B3DA4
accent
#3FE8C0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2C6E17

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

Preview Lab → · Contrast checker → · Palette generator →

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