#2E6218#2E6218

#2E6218 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.4% C 0.119 H 138.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2E6218
RGBrgb(46, 98, 24)
HSLhsl(102, 61%, 24%)
HSVhsv(102, 76%, 38%)
CMYKcmyk(53.1%, 0%, 75.5%, 61.6%)
CIE-LABlab(36.71, -31.95, 34.98)
CIE-LCHlch(36.71, 47.38, 132.41°)
OKLaboklab(44.37% -0.0883 0.0793)
OKLCHoklch(44.37% 0.119 138.1)
XYZxyz(5.6591, 9.3817, 2.3766)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6218 #4C1862
analogous
#536218 #2E6218 #186227
triadic
#2E6218 #182E62 #62182E
tetradic
#2E6218 #185362 #4C1862 #622718
square
#2E6218 #185362 #4C1862 #622718
split-complementary
#2E6218 #271862 #621853
monochromatic
#0C1906 #17310C #2E6218 #459324 #5CC430

Accessibility & contrast

On white

7.30
#2E6218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2E6218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E6218
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6218#FFFFFF#000000##FFFFFF
##2E62181.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590C
Deuteranopia (green-blind)
#5E551F
Tritanopia (blue-blind)
#2A5E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e6218;
/* rgb */ color: rgb(46, 98, 24);
/* oklch */ color: oklch(44.4% 0.119 138.1);
Tailwind
colors: {
  custom: {
    50: '#6d8f5a',
    500: '#2e6218',
    950: '#000000',
  },
}
SCSS
$custom: #2e6218;
$custom-light: #6d8f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6218",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 102.162,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44374,
    "c": 0.11868,
    "h": 138.1
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#2E6218
secondary
#7D3E98
accent
#44E4B4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E6218

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

Preview Lab → · Contrast checker → · Palette generator →

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