#2E5E17#2E5E17

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

Color values

HEX#2E5E17
RGBrgb(46, 94, 23)
HSLhsl(101, 61%, 23%)
HSVhsv(101, 76%, 37%)
CMYKcmyk(51.1%, 0%, 75.5%, 63.1%)
CIE-LABlab(35.30, -30.28, 33.96)
CIE-LCHlch(35.30, 45.50, 131.72°)
OKLaboklab(43.21% -0.0838 0.077)
OKLCHoklch(43.21% 0.114 137.4)
XYZxyz(5.2839, 8.6478, 2.2012)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5E17 #47175E
analogous
#515E17 #2E5E17 #175E23
triadic
#2E5E17 #172E5E #5E172E
tetradic
#2E5E17 #17515E #47175E #5E2317
square
#2E5E17 #17515E #47175E #5E2317
split-complementary
#2E5E17 #23175E #5E1751
monochromatic
#0C1906 #162D0B #2E5E17 #468F23 #5EC02F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E5E17#FFFFFF#000000##FFFFFF
##2E5E171.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)
#61560C
Deuteranopia (green-blind)
#5B521E
Tritanopia (blue-blind)
#2B5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e5e17;
/* rgb */ color: rgb(46, 94, 23);
/* oklch */ color: oklch(43.2% 0.114 137.4);
Tailwind
colors: {
  custom: {
    50: '#6c8c59',
    500: '#2e5e17',
    950: '#000000',
  },
}
SCSS
$custom: #2e5e17;
$custom-light: #6c8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5e17",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 23
  },
  "hsl": {
    "h": 100.563,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43211,
    "c": 0.11385,
    "h": 137.4
  },
  "luminance": 0.08648
}

Semantic roles & 50–950 ramp

primary
#2E5E17
secondary
#783C95
accent
#44E4B0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E5E17

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

Preview Lab → · Contrast checker → · Palette generator →

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