#2E6C17#2E6C17

#2E6C17 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.2% C 0.133 H 138.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2E6C17
RGBrgb(46, 108, 23)
HSLhsl(104, 65%, 26%)
HSVhsv(104, 79%, 42%)
CMYKcmyk(57.4%, 0%, 78.7%, 57.6%)
CIE-LABlab(40.19, -36.24, 38.89)
CIE-LCHlch(40.19, 53.16, 132.98°)
OKLaboklab(47.24% -0.0999 0.0873)
OKLCHoklch(47.24% 0.133 138.8)
XYZxyz(6.6437, 11.3673, 2.6545)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6C17 #55176C
analogous
#586C17 #2E6C17 #176C2B
triadic
#2E6C17 #172E6C #6C172E
tetradic
#2E6C17 #17586C #55176C #6C2B17
square
#2E6C17 #17586C #55176C #6C2B17
split-complementary
#2E6C17 #2B176C #6C1758
monochromatic
#0B1905 #193A0C #2E6C17 #439E22 #59D12C

Accessibility & contrast

On white

6.41
#2E6C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2E6C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6C17
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6C17#FFFFFF#000000##FFFFFF
##2E6C171.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6206
Deuteranopia (green-blind)
#685D20
Tritanopia (blue-blind)
#28685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e6c17;
/* rgb */ color: rgb(46, 108, 23);
/* oklch */ color: oklch(47.2% 0.133 138.8);
Tailwind
colors: {
  custom: {
    50: '#6e975b',
    500: '#2e6c17',
    950: '#000000',
  },
}
SCSS
$custom: #2e6c17;
$custom-light: #6e975b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6c17",
  "rgb": {
    "r": 46,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 103.765,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4724,
    "c": 0.13271,
    "h": 138.8
  },
  "luminance": 0.11368
}

Semantic roles & 50–950 ramp

primary
#2E6C17
secondary
#873DA2
accent
#40E8BA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6C17

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

Preview Lab → · Contrast checker → · Palette generator →

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