#2E6E17#2E6E17

#2E6E17 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.135 H 139.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2E6E17
RGBrgb(46, 110, 23)
HSLhsl(104, 65%, 26%)
HSVhsv(104, 79%, 43%)
CMYKcmyk(58.2%, 0%, 79.1%, 56.9%)
CIE-LABlab(40.89, -37.06, 39.58)
CIE-LCHlch(40.89, 54.22, 133.12°)
OKLaboklab(47.81% -0.1021 0.0888)
OKLCHoklch(47.81% 0.135 139)
XYZxyz(6.8570, 11.7940, 2.7256)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6E17 #57176E
analogous
#596E17 #2E6E17 #176E2B
triadic
#2E6E17 #172E6E #6E172E
tetradic
#2E6E17 #17596E #57176E #6E2B17
square
#2E6E17 #17596E #57176E #6E2B17
split-complementary
#2E6E17 #2B176E #6E1759
monochromatic
#0B1905 #193B0C #2E6E17 #43A122 #58D32C

Accessibility & contrast

On white

6.25
#2E6E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2E6E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6E17
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6E17#FFFFFF#000000##FFFFFF
##2E6E171.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716405
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#286A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e6e17;
/* rgb */ color: rgb(46, 110, 23);
/* oklch */ color: oklch(47.8% 0.135 139.0);
Tailwind
colors: {
  custom: {
    50: '#6f985b',
    500: '#2e6e17',
    950: '#000000',
  },
}
SCSS
$custom: #2e6e17;
$custom-light: #6f985b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6e17",
  "rgb": {
    "r": 46,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 104.138,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47813,
    "c": 0.1353,
    "h": 139
  },
  "luminance": 0.11795
}

Semantic roles & 50–950 ramp

primary
#2E6E17
secondary
#893DA4
accent
#3FE8BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E6E17

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

Preview Lab → · Contrast checker → · Palette generator →

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