#2E6B17#2E6B17

#2E6B17 is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.0% C 0.131 H 138.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2E6B17
RGBrgb(46, 107, 23)
HSLhsl(104, 65%, 25%)
HSVhsv(104, 79%, 42%)
CMYKcmyk(57%, 0%, 78.5%, 58%)
CIE-LABlab(39.84, -35.83, 38.55)
CIE-LCHlch(39.84, 52.63, 132.91°)
OKLaboklab(46.95% -0.0988 0.0866)
OKLCHoklch(46.95% 0.131 138.8)
XYZxyz(6.5388, 11.1576, 2.6195)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6B17 #54176B
analogous
#586B17 #2E6B17 #176B2A
triadic
#2E6B17 #172E6B #6B172E
tetradic
#2E6B17 #17586B #54176B #6B2A17
square
#2E6B17 #17586B #54176B #6B2A17
split-complementary
#2E6B17 #2A176B #6B1758
monochromatic
#0B1905 #18390C #2E6B17 #449D22 #59D02D

Accessibility & contrast

On white

6.50
#2E6B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2E6B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6B17
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6B17#FFFFFF#000000##FFFFFF
##2E6B171.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6106
Deuteranopia (green-blind)
#675C20
Tritanopia (blue-blind)
#28675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e6b17;
/* rgb */ color: rgb(46, 107, 23);
/* oklch */ color: oklch(47.0% 0.131 138.8);
Tailwind
colors: {
  custom: {
    50: '#6e965b',
    500: '#2e6b17',
    950: '#000000',
  },
}
SCSS
$custom: #2e6b17;
$custom-light: #6e965b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6b17",
  "rgb": {
    "r": 46,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 103.571,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46954,
    "c": 0.13142,
    "h": 138.8
  },
  "luminance": 0.11158
}

Semantic roles & 50–950 ramp

primary
#2E6B17
secondary
#863DA1
accent
#40E8BA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6B17

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

Preview Lab → · Contrast checker → · Palette generator →

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