#2E5D19#2E5D19

#2E5D19 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.111 H 137.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#2E5D19
RGBrgb(46, 93, 25)
HSLhsl(101, 58%, 23%)
HSVhsv(101, 73%, 36%)
CMYKcmyk(50.5%, 0%, 73.1%, 63.5%)
CIE-LABlab(34.96, -29.65, 32.73)
CIE-LCHlch(34.96, 44.16, 132.18°)
OKLaboklab(42.94% -0.082 0.0748)
OKLCHoklch(42.94% 0.111 137.6)
XYZxyz(5.2164, 8.4794, 2.2813)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5D19 #48195D
analogous
#505D19 #2E5D19 #195D26
triadic
#2E5D19 #192E5D #5D192E
tetradic
#2E5D19 #19505D #48195D #5D2619
square
#2E5D19 #19505D #48195D #5D2619
split-complementary
#2E5D19 #26195D #5D1950
monochromatic
#0C1806 #162D0C #2E5D19 #468D26 #5EBD33

Accessibility & contrast

On white

7.79
#2E5D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2E5D19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5D19
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5D19#FFFFFF#000000##FFFFFF
##2E5D191.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60550F
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#2B5A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e5d19;
/* rgb */ color: rgb(46, 93, 25);
/* oklch */ color: oklch(42.9% 0.111 137.6);
Tailwind
colors: {
  custom: {
    50: '#6c8b5a',
    500: '#2e5d19',
    950: '#000000',
  },
}
SCSS
$custom: #2e5d19;
$custom-light: #6c8b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5d19",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 25
  },
  "hsl": {
    "h": 101.471,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42941,
    "c": 0.11094,
    "h": 137.6
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

primary
#2E5D19
secondary
#793F93
accent
#47E1B1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E5D19

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

Preview Lab → · Contrast checker → · Palette generator →

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