#2E6B1B#2E6B1B

#2E6B1B is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.0% C 0.129 H 139.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#2E6B1B
RGBrgb(46, 107, 27)
HSLhsl(106, 60%, 26%)
HSVhsv(106, 75%, 42%)
CMYKcmyk(57%, 0%, 74.8%, 58%)
CIE-LABlab(39.87, -35.51, 36.97)
CIE-LCHlch(39.87, 51.26, 133.84°)
OKLaboklab(46.99% -0.0977 0.0839)
OKLCHoklch(46.99% 0.129 139.3)
XYZxyz(6.5820, 11.1748, 2.8468)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6B1B #581B6B
analogous
#566B1B #2E6B1B #1B6B30
triadic
#2E6B1B #1B2E6B #6B1B2E
tetradic
#2E6B1B #1B566B #581B6B #6B301B
square
#2E6B1B #1B566B #581B6B #6B301B
split-complementary
#2E6B1B #301B6B #6B1B56
monochromatic
#0B1806 #193A0F #2E6B1B #439C27 #58CC35

Accessibility & contrast

On white

6.49
#2E6B1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2E6B1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6B1B
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6B1B#FFFFFF#000000##FFFFFF
##2E6B1B1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E610E
Deuteranopia (green-blind)
#665C23
Tritanopia (blue-blind)
#28675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e6b1b;
/* rgb */ color: rgb(46, 107, 27);
/* oklch */ color: oklch(47.0% 0.129 139.3);
Tailwind
colors: {
  custom: {
    50: '#6e965d',
    500: '#2e6b1b',
    950: '#000000',
  },
}
SCSS
$custom: #2e6b1b;
$custom-light: #6e965d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6b1b",
  "rgb": {
    "r": 46,
    "g": 107,
    "b": 27
  },
  "hsl": {
    "h": 105.75,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.46987,
    "c": 0.12878,
    "h": 139.3
  },
  "luminance": 0.11175
}

Semantic roles & 50–950 ramp

primary
#2E6B1B
secondary
#8A42A0
accent
#45E3BD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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