#2E6A17#2E6A17

#2E6A17 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.130 H 138.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2E6A17
RGBrgb(46, 106, 23)
HSLhsl(103, 64%, 25%)
HSVhsv(103, 78%, 42%)
CMYKcmyk(56.6%, 0%, 78.3%, 58.4%)
CIE-LABlab(39.50, -35.42, 38.20)
CIE-LCHlch(39.50, 52.10, 132.84°)
OKLaboklab(46.67% -0.0977 0.0859)
OKLCHoklch(46.67% 0.13 138.7)
XYZxyz(6.4352, 10.9503, 2.5850)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6A17 #53176A
analogous
#586A17 #2E6A17 #176A29
triadic
#2E6A17 #172E6A #6A172E
tetradic
#2E6A17 #17586A #53176A #6A2917
square
#2E6A17 #17586A #53176A #6A2917
split-complementary
#2E6A17 #29176A #6A1758
monochromatic
#0B1905 #18380C #2E6A17 #449C22 #5ACF2D

Accessibility & contrast

On white

6.58
#2E6A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2E6A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6A17
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6A17#FFFFFF#000000##FFFFFF
##2E6A171.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6006
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#29665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e6a17;
/* rgb */ color: rgb(46, 106, 23);
/* oklch */ color: oklch(46.7% 0.130 138.7);
Tailwind
colors: {
  custom: {
    50: '#6e955a',
    500: '#2e6a17',
    950: '#000000',
  },
}
SCSS
$custom: #2e6a17;
$custom-light: #6e955a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6a17",
  "rgb": {
    "r": 46,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 103.373,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46667,
    "c": 0.1301,
    "h": 138.7
  },
  "luminance": 0.10951
}

Semantic roles & 50–950 ramp

primary
#2E6A17
secondary
#853DA0
accent
#40E7B9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6A17

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

Preview Lab → · Contrast checker → · Palette generator →

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