#2E6A18#2E6A18

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

Color values

HEX#2E6A18
RGBrgb(46, 106, 24)
HSLhsl(104, 63%, 25%)
HSVhsv(104, 77%, 42%)
CMYKcmyk(56.6%, 0%, 77.4%, 58.4%)
CIE-LABlab(39.50, -35.34, 37.82)
CIE-LCHlch(39.50, 51.76, 133.06°)
OKLaboklab(46.68% -0.0974 0.0853)
OKLCHoklch(46.68% 0.129 138.8)
XYZxyz(6.4454, 10.9543, 2.6387)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6A18 #54186A
analogous
#576A18 #2E6A18 #186A2B
triadic
#2E6A18 #182E6A #6A182E
tetradic
#2E6A18 #18576A #54186A #6A2B18
square
#2E6A18 #18576A #54186A #6A2B18
split-complementary
#2E6A18 #2B186A #6A1857
monochromatic
#0B1906 #18380D #2E6A18 #449C23 #59CE2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E6A18#FFFFFF#000000##FFFFFF
##2E6A181.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)
#6D6008
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#28665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e6a18;
/* rgb */ color: rgb(46, 106, 24);
/* oklch */ color: oklch(46.7% 0.129 138.8);
Tailwind
colors: {
  custom: {
    50: '#6e955b',
    500: '#2e6a18',
    950: '#000000',
  },
}
SCSS
$custom: #2e6a18;
$custom-light: #6e955b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6a18",
  "rgb": {
    "r": 46,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 103.902,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46675,
    "c": 0.12947,
    "h": 138.8
  },
  "luminance": 0.10955
}

Semantic roles & 50–950 ramp

primary
#2E6A18
secondary
#863EA0
accent
#42E6BA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6A18

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

Preview Lab → · Contrast checker → · Palette generator →

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