#2E6A1B#2E6A1B

#2E6A1B is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.127 H 139.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2E6A1B
RGBrgb(46, 106, 27)
HSLhsl(106, 59%, 26%)
HSVhsv(106, 75%, 42%)
CMYKcmyk(56.6%, 0%, 74.5%, 58.4%)
CIE-LABlab(39.53, -35.09, 36.61)
CIE-LCHlch(39.53, 50.72, 133.78°)
OKLaboklab(46.7% -0.0965 0.0832)
OKLCHoklch(46.7% 0.127 139.3)
XYZxyz(6.4783, 10.9675, 2.8123)
Luminance0.1097 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6A1B #571B6A
analogous
#556A1B #2E6A1B #1B6A2F
triadic
#2E6A1B #1B2E6A #6A1B2E
tetradic
#2E6A1B #1B556A #571B6A #6A2F1B
square
#2E6A1B #1B556A #571B6A #6A2F1B
split-complementary
#2E6A1B #2F1B6A #6A1B55
monochromatic
#0B1806 #19390F #2E6A1B #439B27 #58CB34

Accessibility & contrast

On white

6.58
#2E6A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2E6A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6A1B
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6A1B#FFFFFF#000000##FFFFFF
##2E6A1B1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600E
Deuteranopia (green-blind)
#665B23
Tritanopia (blue-blind)
#28665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e6a1b;
/* rgb */ color: rgb(46, 106, 27);
/* oklch */ color: oklch(46.7% 0.127 139.3);
Tailwind
colors: {
  custom: {
    50: '#6e955d',
    500: '#2e6a1b',
    950: '#000000',
  },
}
SCSS
$custom: #2e6a1b;
$custom-light: #6e955d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6a1b",
  "rgb": {
    "r": 46,
    "g": 106,
    "b": 27
  },
  "hsl": {
    "h": 105.57,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.467,
    "c": 0.12744,
    "h": 139.3
  },
  "luminance": 0.10968
}

Semantic roles & 50–950 ramp

primary
#2E6A1B
secondary
#89429F
accent
#45E3BD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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