#2E6018#2E6018

#2E6018 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.8% C 0.116 H 137.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#2E6018
RGBrgb(46, 96, 24)
HSLhsl(102, 60%, 24%)
HSVhsv(102, 75%, 38%)
CMYKcmyk(52.1%, 0%, 75%, 62.4%)
CIE-LABlab(36.01, -31.08, 34.26)
CIE-LCHlch(36.01, 46.26, 132.21°)
OKLaboklab(43.8% -0.0859 0.0778)
OKLCHoklch(43.8% 0.116 137.8)
XYZxyz(5.4743, 9.0121, 2.3150)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6018 #4A1860
analogous
#526018 #2E6018 #186026
triadic
#2E6018 #182E60 #60182E
tetradic
#2E6018 #185260 #4A1860 #602618
square
#2E6018 #185260 #4A1860 #602618
split-complementary
#2E6018 #261860 #601852
monochromatic
#0C1806 #172F0C #2E6018 #459124 #5DC230

Accessibility & contrast

On white

7.49
#2E6018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2E6018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E6018
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6018#FFFFFF#000000##FFFFFF
##2E60181.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570D
Deuteranopia (green-blind)
#5D531F
Tritanopia (blue-blind)
#2B5C52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e6018;
/* rgb */ color: rgb(46, 96, 24);
/* oklch */ color: oklch(43.8% 0.116 137.8);
Tailwind
colors: {
  custom: {
    50: '#6c8e5a',
    500: '#2e6018',
    950: '#000000',
  },
}
SCSS
$custom: #2e6018;
$custom-light: #6c8e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6018",
  "rgb": {
    "r": 46,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 101.667,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43797,
    "c": 0.11592,
    "h": 137.8
  },
  "luminance": 0.09013
}

Semantic roles & 50–950 ramp

primary
#2E6018
secondary
#7B3D96
accent
#45E3B3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E6018

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

Preview Lab → · Contrast checker → · Palette generator →

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