#2E5C18#2E5C18

#2E5C18 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.6% C 0.110 H 137.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2E5C18
RGBrgb(46, 92, 24)
HSLhsl(101, 59%, 23%)
HSVhsv(101, 74%, 36%)
CMYKcmyk(50%, 0%, 73.9%, 63.9%)
CIE-LABlab(34.60, -29.29, 32.80)
CIE-LCHlch(34.60, 43.98, 131.77°)
OKLaboklab(42.64% -0.0811 0.0748)
OKLCHoklch(42.64% 0.11 137.3)
XYZxyz(5.1186, 8.3007, 2.1965)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5C18 #46185C
analogous
#505C18 #2E5C18 #185C24
triadic
#2E5C18 #182E5C #5C182E
tetradic
#2E5C18 #18505C #46185C #5C2418
square
#2E5C18 #18505C #46185C #5C2418
split-complementary
#2E5C18 #24185C #5C1850
monochromatic
#0C1806 #162B0B #2E5C18 #468D25 #5FBD31

Accessibility & contrast

On white

7.89
#2E5C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2E5C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5C18
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5C18#FFFFFF#000000##FFFFFF
##2E5C181.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540E
Deuteranopia (green-blind)
#59501E
Tritanopia (blue-blind)
#2B594E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e5c18;
/* rgb */ color: rgb(46, 92, 24);
/* oklch */ color: oklch(42.6% 0.110 137.3);
Tailwind
colors: {
  custom: {
    50: '#6c8a59',
    500: '#2e5c18',
    950: '#000000',
  },
}
SCSS
$custom: #2e5c18;
$custom-light: #6c8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5c18",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 24
  },
  "hsl": {
    "h": 100.588,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42642,
    "c": 0.11028,
    "h": 137.3
  },
  "luminance": 0.08301
}

Semantic roles & 50–950 ramp

primary
#2E5C18
secondary
#773D93
accent
#46E2AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E5C18

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

Preview Lab → · Contrast checker → · Palette generator →

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