#2E5D17#2E5D17

#2E5D17 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.112 H 137.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#2E5D17
RGBrgb(46, 93, 23)
HSLhsl(100, 60%, 23%)
HSVhsv(100, 75%, 36%)
CMYKcmyk(50.5%, 0%, 75.3%, 63.5%)
CIE-LABlab(34.95, -29.83, 33.60)
CIE-LCHlch(34.95, 44.93, 131.60°)
OKLaboklab(42.92% -0.0826 0.0763)
OKLCHoklch(42.92% 0.112 137.3)
XYZxyz(5.1956, 8.4711, 2.1718)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5D17 #46175D
analogous
#515D17 #2E5D17 #175D23
triadic
#2E5D17 #172E5D #5D172E
tetradic
#2E5D17 #17515D #46175D #5D2317
square
#2E5D17 #17515D #46175D #5D2317
split-complementary
#2E5D17 #23175D #5D1751
monochromatic
#0C1906 #162C0B #2E5D17 #468E23 #5FBF2F

Accessibility & contrast

On white

7.79
#2E5D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2E5D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5D17
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5D17#FFFFFF#000000##FFFFFF
##2E5D171.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60550C
Deuteranopia (green-blind)
#5A511E
Tritanopia (blue-blind)
#2B594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e5d17;
/* rgb */ color: rgb(46, 93, 23);
/* oklch */ color: oklch(42.9% 0.112 137.3);
Tailwind
colors: {
  custom: {
    50: '#6c8b59',
    500: '#2e5d17',
    950: '#000000',
  },
}
SCSS
$custom: #2e5d17;
$custom-light: #6c8b59;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5d17",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 100.286,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42922,
    "c": 0.11245,
    "h": 137.3
  },
  "luminance": 0.08471
}

Semantic roles & 50–950 ramp

primary
#2E5D17
secondary
#773C94
accent
#44E3AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E5D17

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

Preview Lab → · Contrast checker → · Palette generator →

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