#2E6817#2E6817

#2E6817 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.1% C 0.127 H 138.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2E6817
RGBrgb(46, 104, 23)
HSLhsl(103, 64%, 25%)
HSVhsv(103, 78%, 41%)
CMYKcmyk(55.8%, 0%, 77.9%, 59.2%)
CIE-LABlab(38.80, -34.59, 37.51)
CIE-LCHlch(38.80, 51.02, 132.68°)
OKLaboklab(46.09% -0.0955 0.0845)
OKLCHoklch(46.09% 0.127 138.5)
XYZxyz(6.2315, 10.5428, 2.5170)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6817 #511768
analogous
#576817 #2E6817 #176828
triadic
#2E6817 #172E68 #68172E
tetradic
#2E6817 #175768 #511768 #682817
square
#2E6817 #175768 #511768 #682817
split-complementary
#2E6817 #281768 #681757
monochromatic
#0B1906 #18360C #2E6817 #449A22 #5ACC2D

Accessibility & contrast

On white

6.76
#2E6817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2E6817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6817
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6817#FFFFFF#000000##FFFFFF
##2E68171.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E07
Deuteranopia (green-blind)
#645A1F
Tritanopia (blue-blind)
#296458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e6817;
/* rgb */ color: rgb(46, 104, 23);
/* oklch */ color: oklch(46.1% 0.127 138.5);
Tailwind
colors: {
  custom: {
    50: '#6e945a',
    500: '#2e6817',
    950: '#000000',
  },
}
SCSS
$custom: #2e6817;
$custom-light: #6e945a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6817",
  "rgb": {
    "r": 46,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 102.963,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46092,
    "c": 0.12747,
    "h": 138.5
  },
  "luminance": 0.10543
}

Semantic roles & 50–950 ramp

primary
#2E6817
secondary
#833D9E
accent
#41E7B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6817

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

Preview Lab → · Contrast checker → · Palette generator →

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