#2E5E1B#2E5E1B

#2E5E1B is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.111 H 138.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2E5E1B
RGBrgb(46, 94, 27)
HSLhsl(103, 55%, 24%)
HSVhsv(103, 71%, 37%)
CMYKcmyk(51.1%, 0%, 71.3%, 63.1%)
CIE-LABlab(35.33, -29.91, 32.20)
CIE-LCHlch(35.33, 43.95, 132.88°)
OKLaboklab(43.25% -0.0825 0.0739)
OKLCHoklch(43.25% 0.111 138.1)
XYZxyz(5.3271, 8.6650, 2.4285)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5E1B #4B1B5E
analogous
#4F5E1B #2E5E1B #1B5E29
triadic
#2E5E1B #1B2E5E #5E1B2E
tetradic
#2E5E1B #1B4F5E #4B1B5E #5E291B
square
#2E5E1B #1B4F5E #4B1B5E #5E291B
split-complementary
#2E5E1B #291B5E #5E1B4F
monochromatic
#0C1807 #172E0D #2E5E1B #458E29 #5DBD36

Accessibility & contrast

On white

7.68
#2E5E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E5E1B
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5E1B#FFFFFF#000000##FFFFFF
##2E5E1B1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615612
Deuteranopia (green-blind)
#5B5221
Tritanopia (blue-blind)
#2B5B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e5e1b;
/* rgb */ color: rgb(46, 94, 27);
/* oklch */ color: oklch(43.3% 0.111 138.1);
Tailwind
colors: {
  custom: {
    50: '#6c8c5b',
    500: '#2e5e1b',
    950: '#000000',
  },
}
SCSS
$custom: #2e5e1b;
$custom-light: #6c8c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5e1b",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 27
  },
  "hsl": {
    "h": 102.985,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4325,
    "c": 0.11079,
    "h": 138.1
  },
  "luminance": 0.08665
}

Semantic roles & 50–950 ramp

primary
#2E5E1B
secondary
#7C4194
accent
#49DFB4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E5E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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