#2E6717#2E6717

#2E6717 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.8% C 0.126 H 138.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2E6717
RGBrgb(46, 103, 23)
HSLhsl(103, 63%, 25%)
HSVhsv(103, 78%, 40%)
CMYKcmyk(55.3%, 0%, 77.7%, 59.6%)
CIE-LABlab(38.45, -34.17, 37.16)
CIE-LCHlch(38.45, 50.48, 132.60°)
OKLaboklab(45.81% -0.0943 0.0837)
OKLCHoklch(45.81% 0.126 138.4)
XYZxyz(6.1314, 10.3427, 2.4837)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6717 #501767
analogous
#566717 #2E6717 #176728
triadic
#2E6717 #172E67 #67172E
tetradic
#2E6717 #175667 #501767 #672817
square
#2E6717 #175667 #501767 #672817
split-complementary
#2E6717 #281767 #671756
monochromatic
#0B1906 #18350C #2E6717 #449922 #5BCB2D

Accessibility & contrast

On white

6.84
#2E6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2E6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6717
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6717#FFFFFF#000000##FFFFFF
##2E67171.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D08
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#296358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e6717;
/* rgb */ color: rgb(46, 103, 23);
/* oklch */ color: oklch(45.8% 0.126 138.4);
Tailwind
colors: {
  custom: {
    50: '#6d935a',
    500: '#2e6717',
    950: '#000000',
  },
}
SCSS
$custom: #2e6717;
$custom-light: #6d935a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6717",
  "rgb": {
    "r": 46,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 102.75,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45805,
    "c": 0.12614,
    "h": 138.4
  },
  "luminance": 0.10343
}

Semantic roles & 50–950 ramp

primary
#2E6717
secondary
#813D9D
accent
#41E7B7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6717

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

Preview Lab → · Contrast checker → · Palette generator →

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