#2E5819#2E5819

#2E5819 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.5% C 0.104 H 136.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2E5819
RGBrgb(46, 88, 25)
HSLhsl(100, 56%, 22%)
HSVhsv(100, 72%, 35%)
CMYKcmyk(47.7%, 0%, 71.6%, 65.5%)
CIE-LABlab(33.20, -27.36, 30.86)
CIE-LCHlch(33.20, 41.24, 131.56°)
OKLaboklab(41.5% -0.0758 0.0708)
OKLCHoklch(41.5% 0.104 136.9)
XYZxyz(4.7918, 7.6302, 2.1398)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5819 #431958
analogous
#4E5819 #2E5819 #195824
triadic
#2E5819 #192E58 #58192E
tetradic
#2E5819 #194E58 #431958 #582419
square
#2E5819 #194E58 #431958 #582419
split-complementary
#2E5819 #241958 #58194E
monochromatic
#0C1807 #15280B #2E5819 #478827 #60B734

Accessibility & contrast

On white

8.31
#2E5819 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2E5819 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5819
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5819#FFFFFF#000000##FFFFFF
##2E58191.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5011
Deuteranopia (green-blind)
#554D1E
Tritanopia (blue-blind)
#2C554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e5819;
/* rgb */ color: rgb(46, 88, 25);
/* oklch */ color: oklch(41.5% 0.104 136.9);
Tailwind
colors: {
  custom: {
    50: '#6b8759',
    500: '#2e5819',
    950: '#000000',
  },
}
SCSS
$custom: #2e5819;
$custom-light: #6b8759;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5819",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 25
  },
  "hsl": {
    "h": 100,
    "s": 55.752,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41496,
    "c": 0.1037,
    "h": 136.9
  },
  "luminance": 0.0763
}

Semantic roles & 50–950 ramp

primary
#2E5819
secondary
#743E8E
accent
#49DFAD
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2E5819

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

Preview Lab → · Contrast checker → · Palette generator →

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