#2E5A18#2E5A18

#2E5A18 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.107 H 137.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2E5A18
RGBrgb(46, 90, 24)
HSLhsl(100, 58%, 22%)
HSVhsv(100, 73%, 35%)
CMYKcmyk(48.9%, 0%, 73.3%, 64.7%)
CIE-LABlab(33.90, -28.38, 32.06)
CIE-LCHlch(33.90, 42.82, 131.52°)
OKLaboklab(42.06% -0.0786 0.0732)
OKLCHoklch(42.06% 0.107 137)
XYZxyz(4.9476, 7.9588, 2.1395)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5A18 #44185A
analogous
#4F5A18 #2E5A18 #185A23
triadic
#2E5A18 #182E5A #5A182E
tetradic
#2E5A18 #184F5A #44185A #5A2318
square
#2E5A18 #184F5A #44185A #5A2318
split-complementary
#2E5A18 #23185A #5A184F
monochromatic
#0C1806 #152A0B #2E5A18 #478A25 #5FBB32

Accessibility & contrast

On white

8.10
#2E5A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2E5A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5A18
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5A18#FFFFFF#000000##FFFFFF
##2E5A181.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520F
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#2C574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e5a18;
/* rgb */ color: rgb(46, 90, 24);
/* oklch */ color: oklch(42.1% 0.107 137.0);
Tailwind
colors: {
  custom: {
    50: '#6b8959',
    500: '#2e5a18',
    950: '#000000',
  },
}
SCSS
$custom: #2e5a18;
$custom-light: #6b8959;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5a18",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 100,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42064,
    "c": 0.10741,
    "h": 137
  },
  "luminance": 0.07959
}

Semantic roles & 50–950 ramp

primary
#2E5A18
secondary
#753D91
accent
#47E1AE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2E5A18

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

Preview Lab → · Contrast checker → · Palette generator →

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