#2E6F18#2E6F18

#2E6F18 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.136 H 139.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2E6F18
RGBrgb(46, 111, 24)
HSLhsl(105, 64%, 26%)
HSVhsv(105, 78%, 44%)
CMYKcmyk(58.6%, 0%, 78.4%, 56.5%)
CIE-LABlab(41.24, -37.38, 39.55)
CIE-LCHlch(41.24, 54.42, 133.39°)
OKLaboklab(48.11% -0.1029 0.0889)
OKLCHoklch(48.11% 0.136 139.2)
XYZxyz(6.9757, 12.0151, 2.8155)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6F18 #59186F
analogous
#5A6F18 #2E6F18 #186F2E
triadic
#2E6F18 #182E6F #6F182E
tetradic
#2E6F18 #185A6F #59186F #6F2E18
square
#2E6F18 #185A6F #59186F #6F2E18
split-complementary
#2E6F18 #2E186F #6F185A
monochromatic
#0A1905 #193D0D #2E6F18 #43A123 #58D22F

Accessibility & contrast

On white

6.17
#2E6F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2E6F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6F18
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6F18#FFFFFF#000000##FFFFFF
##2E6F181.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726506
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#276B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e6f18;
/* rgb */ color: rgb(46, 111, 24);
/* oklch */ color: oklch(48.1% 0.136 139.2);
Tailwind
colors: {
  custom: {
    50: '#6f995c',
    500: '#2e6f18',
    950: '#000000',
  },
}
SCSS
$custom: #2e6f18;
$custom-light: #6f995c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6f18",
  "rgb": {
    "r": 46,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 104.828,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48107,
    "c": 0.13599,
    "h": 139.2
  },
  "luminance": 0.12016
}

Semantic roles & 50–950 ramp

primary
#2E6F18
secondary
#8B3EA5
accent
#40E7BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E6F18

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

Preview Lab → · Contrast checker → · Palette generator →

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