#2E5E1F#2E5E1F

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

Color values

HEX#2E5E1F
RGBrgb(46, 94, 31)
HSLhsl(106, 50%, 25%)
HSVhsv(106, 67%, 37%)
CMYKcmyk(51.1%, 0%, 67%, 63.1%)
CIE-LABlab(35.37, -29.49, 30.33)
CIE-LCHlch(35.37, 42.30, 134.20°)
OKLaboklab(43.29% -0.0811 0.0705)
OKLCHoklch(43.29% 0.107 139)
XYZxyz(5.3765, 8.6848, 2.6891)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5E1F #4F1F5E
analogous
#4E5E1F #2E5E1F #1F5E30
triadic
#2E5E1F #1F2E5E #5E1F2E
tetradic
#2E5E1F #1F4E5E #4F1F5E #5E301F
square
#2E5E1F #1F4E5E #4F1F5E #5E301F
split-complementary
#2E5E1F #301F5E #5E1F4E
monochromatic
#0B1708 #173010 #2E5E1F #458C2E #5BBA3D

Accessibility & contrast

On white

7.67
#2E5E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2E5E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5E1F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5E1F#FFFFFF#000000##FFFFFF
##2E5E1F1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615618
Deuteranopia (green-blind)
#5A5224
Tritanopia (blue-blind)
#2A5B51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e5e1f;
/* rgb */ color: rgb(46, 94, 31);
/* oklch */ color: oklch(43.3% 0.107 139.0);
Tailwind
colors: {
  custom: {
    50: '#6b8c5d',
    500: '#2e5e1f',
    950: '#000000',
  },
}
SCSS
$custom: #2e5e1f;
$custom-light: #6b8c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5e1f",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 31
  },
  "hsl": {
    "h": 105.714,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.43294,
    "c": 0.10742,
    "h": 139
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#2E5E1F
secondary
#804693
accent
#4EDAB9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E5E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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