#2E5919#2E5919

#2E5919 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.8% C 0.105 H 137.1°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2E5919
RGBrgb(46, 89, 25)
HSLhsl(100, 56%, 22%)
HSVhsv(100, 72%, 35%)
CMYKcmyk(48.3%, 0%, 71.9%, 65.1%)
CIE-LABlab(33.55, -27.83, 31.23)
CIE-LCHlch(33.55, 41.83, 131.70°)
OKLaboklab(41.79% -0.077 0.0716)
OKLCHoklch(41.79% 0.105 137.1)
XYZxyz(4.8744, 7.7955, 2.1673)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5919 #441959
analogous
#4E5919 #2E5919 #195924
triadic
#2E5919 #192E59 #59192E
tetradic
#2E5919 #194E59 #441959 #592419
square
#2E5919 #194E59 #441959 #592419
split-complementary
#2E5919 #241959 #59194E
monochromatic
#0C1807 #15290C #2E5919 #478926 #5FB934

Accessibility & contrast

On white

8.21
#2E5919 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2E5919 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5919
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5919#FFFFFF#000000##FFFFFF
##2E59191.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5110
Deuteranopia (green-blind)
#564E1F
Tritanopia (blue-blind)
#2C564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e5919;
/* rgb */ color: rgb(46, 89, 25);
/* oklch */ color: oklch(41.8% 0.105 137.1);
Tailwind
colors: {
  custom: {
    50: '#6b8859',
    500: '#2e5919',
    950: '#000000',
  },
}
SCSS
$custom: #2e5919;
$custom-light: #6b8859;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5919",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 25
  },
  "hsl": {
    "h": 100.313,
    "s": 56.14,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41785,
    "c": 0.10517,
    "h": 137.1
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#2E5919
secondary
#753E8F
accent
#48DFAE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2E5919

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

Preview Lab → · Contrast checker → · Palette generator →

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