#2E5E18#2E5E18

#2E5E18 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.2% C 0.113 H 137.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#2E5E18
RGBrgb(46, 94, 24)
HSLhsl(101, 59%, 23%)
HSVhsv(101, 74%, 37%)
CMYKcmyk(51.1%, 0%, 74.5%, 63.1%)
CIE-LABlab(35.31, -30.19, 33.53)
CIE-LCHlch(35.31, 45.12, 132.00°)
OKLaboklab(43.22% -0.0835 0.0763)
OKLCHoklch(43.22% 0.113 137.6)
XYZxyz(5.2941, 8.6518, 2.2550)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5E18 #48185E
analogous
#515E18 #2E5E18 #185E25
triadic
#2E5E18 #182E5E #5E182E
tetradic
#2E5E18 #18515E #48185E #5E2518
square
#2E5E18 #18515E #48185E #5E2518
split-complementary
#2E5E18 #25185E #5E1851
monochromatic
#0C1806 #162D0C #2E5E18 #468F24 #5EC031

Accessibility & contrast

On white

7.69
#2E5E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2E5E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5E18
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5E18#FFFFFF#000000##FFFFFF
##2E5E181.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61560D
Deuteranopia (green-blind)
#5B521E
Tritanopia (blue-blind)
#2B5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e5e18;
/* rgb */ color: rgb(46, 94, 24);
/* oklch */ color: oklch(43.2% 0.113 137.6);
Tailwind
colors: {
  custom: {
    50: '#6c8c59',
    500: '#2e5e18',
    950: '#000000',
  },
}
SCSS
$custom: #2e5e18;
$custom-light: #6c8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5e18",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 24
  },
  "hsl": {
    "h": 101.143,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4322,
    "c": 0.11311,
    "h": 137.6
  },
  "luminance": 0.08652
}

Semantic roles & 50–950 ramp

primary
#2E5E18
secondary
#793D94
accent
#45E3B1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E5E18

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

Preview Lab → · Contrast checker → · Palette generator →

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