#2E6D17#2E6D17

#2E6D17 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.5% C 0.134 H 138.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#2E6D17
RGBrgb(46, 109, 23)
HSLhsl(104, 65%, 26%)
HSVhsv(104, 79%, 43%)
CMYKcmyk(57.8%, 0%, 78.9%, 57.3%)
CIE-LABlab(40.54, -36.65, 39.23)
CIE-LCHlch(40.54, 53.69, 133.05°)
OKLaboklab(47.53% -0.101 0.0881)
OKLCHoklch(47.53% 0.134 138.9)
XYZxyz(6.7497, 11.5794, 2.6898)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6D17 #56176D
analogous
#596D17 #2E6D17 #176D2B
triadic
#2E6D17 #172E6D #6D172E
tetradic
#2E6D17 #17596D #56176D #6D2B17
square
#2E6D17 #17596D #56176D #6D2B17
split-complementary
#2E6D17 #2B176D #6D1759
monochromatic
#0B1905 #193A0C #2E6D17 #43A022 #59D22C

Accessibility & contrast

On white

6.33
#2E6D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2E6D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6D17
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6D17#FFFFFF#000000##FFFFFF
##2E6D171.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706305
Deuteranopia (green-blind)
#685E20
Tritanopia (blue-blind)
#28695D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e6d17;
/* rgb */ color: rgb(46, 109, 23);
/* oklch */ color: oklch(47.5% 0.134 138.9);
Tailwind
colors: {
  custom: {
    50: '#6f975b',
    500: '#2e6d17',
    950: '#000000',
  },
}
SCSS
$custom: #2e6d17;
$custom-light: #6f975b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6d17",
  "rgb": {
    "r": 46,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 103.953,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47527,
    "c": 0.13401,
    "h": 138.9
  },
  "luminance": 0.1158
}

Semantic roles & 50–950 ramp

primary
#2E6D17
secondary
#883DA3
accent
#40E8BB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6D17

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

Preview Lab → · Contrast checker → · Palette generator →

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