#2E6917#2E6917

#2E6917 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.4% C 0.129 H 138.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2E6917
RGBrgb(46, 105, 23)
HSLhsl(103, 64%, 25%)
HSVhsv(103, 78%, 41%)
CMYKcmyk(56.2%, 0%, 78.1%, 58.8%)
CIE-LABlab(39.15, -35.01, 37.86)
CIE-LCHlch(39.15, 51.56, 132.76°)
OKLaboklab(46.38% -0.0966 0.0852)
OKLCHoklch(46.38% 0.129 138.6)
XYZxyz(6.3327, 10.7454, 2.5508)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6917 #521769
analogous
#576917 #2E6917 #176929
triadic
#2E6917 #172E69 #69172E
tetradic
#2E6917 #175769 #521769 #692917
square
#2E6917 #175769 #521769 #692917
split-complementary
#2E6917 #291769 #691757
monochromatic
#0B1905 #18370C #2E6917 #449B22 #5ACD2D

Accessibility & contrast

On white

6.67
#2E6917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2E6917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6917
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6917#FFFFFF#000000##FFFFFF
##2E69171.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#655A1F
Tritanopia (blue-blind)
#296559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e6917;
/* rgb */ color: rgb(46, 105, 23);
/* oklch */ color: oklch(46.4% 0.129 138.6);
Tailwind
colors: {
  custom: {
    50: '#6e945a',
    500: '#2e6917',
    950: '#000000',
  },
}
SCSS
$custom: #2e6917;
$custom-light: #6e945a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6917",
  "rgb": {
    "r": 46,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 103.171,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4638,
    "c": 0.12878,
    "h": 138.6
  },
  "luminance": 0.10746
}

Semantic roles & 50–950 ramp

primary
#2E6917
secondary
#843D9F
accent
#41E7B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6917

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

Preview Lab → · Contrast checker → · Palette generator →

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