#2E5B18#2E5B18

#2E5B18 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.4% C 0.109 H 137.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2E5B18
RGBrgb(46, 91, 24)
HSLhsl(100, 58%, 23%)
HSVhsv(100, 74%, 36%)
CMYKcmyk(49.5%, 0%, 73.6%, 64.3%)
CIE-LABlab(34.25, -28.84, 32.43)
CIE-LCHlch(34.25, 43.40, 131.65°)
OKLaboklab(42.35% -0.0798 0.074)
OKLCHoklch(42.35% 0.109 137.2)
XYZxyz(5.0325, 8.1286, 2.1678)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5B18 #45185B
analogous
#4F5B18 #2E5B18 #185B24
triadic
#2E5B18 #182E5B #5B182E
tetradic
#2E5B18 #184F5B #45185B #5B2418
square
#2E5B18 #184F5B #45185B #5B2418
split-complementary
#2E5B18 #24185B #5B184F
monochromatic
#0C1806 #162B0B #2E5B18 #468B25 #5FBC32

Accessibility & contrast

On white

8.00
#2E5B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2E5B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5B18
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5B18#FFFFFF#000000##FFFFFF
##2E5B181.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530E
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#2B584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e5b18;
/* rgb */ color: rgb(46, 91, 24);
/* oklch */ color: oklch(42.4% 0.109 137.2);
Tailwind
colors: {
  custom: {
    50: '#6b8a59',
    500: '#2e5b18',
    950: '#000000',
  },
}
SCSS
$custom: #2e5b18;
$custom-light: #6b8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5b18",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 24
  },
  "hsl": {
    "h": 100.299,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42353,
    "c": 0.10885,
    "h": 137.2
  },
  "luminance": 0.08129
}

Semantic roles & 50–950 ramp

primary
#2E5B18
secondary
#763D92
accent
#46E1AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2E5B18

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

Preview Lab → · Contrast checker → · Palette generator →

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