#2E5E1A#2E5E1A

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

Color values

HEX#2E5E1A
RGBrgb(46, 94, 26)
HSLhsl(102, 57%, 24%)
HSVhsv(102, 72%, 37%)
CMYKcmyk(51.1%, 0%, 72.3%, 63.1%)
CIE-LABlab(35.32, -30.01, 32.66)
CIE-LCHlch(35.32, 44.35, 132.58°)
OKLaboklab(43.24% -0.0829 0.0747)
OKLCHoklch(43.24% 0.112 137.9)
XYZxyz(5.3157, 8.6605, 2.3686)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5E1A #4A1A5E
analogous
#505E1A #2E5E1A #1A5E28
triadic
#2E5E1A #1A2E5E #5E1A2E
tetradic
#2E5E1A #1A505E #4A1A5E #5E281A
square
#2E5E1A #1A505E #4A1A5E #5E281A
split-complementary
#2E5E1A #281A5E #5E1A50
monochromatic
#0C1807 #172E0D #2E5E1A #458E27 #5DBE35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E5E1A#FFFFFF#000000##FFFFFF
##2E5E1A1.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)
#615610
Deuteranopia (green-blind)
#5B5220
Tritanopia (blue-blind)
#2B5B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e5e1a;
/* rgb */ color: rgb(46, 94, 26);
/* oklch */ color: oklch(43.2% 0.112 137.9);
Tailwind
colors: {
  custom: {
    50: '#6c8c5a',
    500: '#2e5e1a',
    950: '#000000',
  },
}
SCSS
$custom: #2e5e1a;
$custom-light: #6c8c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5e1a",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 26
  },
  "hsl": {
    "h": 102.353,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43239,
    "c": 0.11159,
    "h": 137.9
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#2E5E1A
secondary
#7B4094
accent
#48E0B3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E5E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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