#2E5A19#2E5A19

#2E5A19 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.107 H 137.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2E5A19
RGBrgb(46, 90, 25)
HSLhsl(101, 57%, 23%)
HSVhsv(101, 72%, 35%)
CMYKcmyk(48.9%, 0%, 72.2%, 64.7%)
CIE-LABlab(33.91, -28.29, 31.61)
CIE-LCHlch(33.91, 42.42, 131.82°)
OKLaboklab(42.07% -0.0783 0.0724)
OKLCHoklch(42.07% 0.107 137.2)
XYZxyz(4.9582, 7.9630, 2.1953)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5A19 #45195A
analogous
#4F5A19 #2E5A19 #195A24
triadic
#2E5A19 #192E5A #5A192E
tetradic
#2E5A19 #194F5A #45195A #5A2419
square
#2E5A19 #194F5A #45195A #5A2419
split-complementary
#2E5A19 #24195A #5A194F
monochromatic
#0C1807 #162A0C #2E5A19 #468A26 #5FBA34

Accessibility & contrast

On white

8.10
#2E5A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2E5A19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5A19
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5A19#FFFFFF#000000##FFFFFF
##2E5A191.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5210
Deuteranopia (green-blind)
#574E1F
Tritanopia (blue-blind)
#2C574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e5a19;
/* rgb */ color: rgb(46, 90, 25);
/* oklch */ color: oklch(42.1% 0.107 137.2);
Tailwind
colors: {
  custom: {
    50: '#6b8959',
    500: '#2e5a19',
    950: '#000000',
  },
}
SCSS
$custom: #2e5a19;
$custom-light: #6b8959;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5a19",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 25
  },
  "hsl": {
    "h": 100.615,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42074,
    "c": 0.10662,
    "h": 137.2
  },
  "luminance": 0.07963
}

Semantic roles & 50–950 ramp

primary
#2E5A19
secondary
#763E90
accent
#48E0AF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2E5A19

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

Preview Lab → · Contrast checker → · Palette generator →

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