#2E6813#2E6813

#2E6813 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.1% C 0.130 H 138.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2E6813
RGBrgb(46, 104, 19)
HSLhsl(101, 69%, 24%)
HSVhsv(101, 82%, 41%)
CMYKcmyk(55.8%, 0%, 81.7%, 59.2%)
CIE-LABlab(38.77, -34.88, 38.98)
CIE-LCHlch(38.77, 52.31, 131.82°)
OKLaboklab(46.06% -0.0965 0.0869)
OKLCHoklch(46.06% 0.13 138)
XYZxyz(6.1944, 10.5280, 2.3217)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6813 #4D1368
analogous
#596813 #2E6813 #136823
triadic
#2E6813 #132E68 #68132E
tetradic
#2E6813 #135968 #4D1368 #682313
square
#2E6813 #135968 #4D1368 #682313
split-complementary
#2E6813 #231368 #681359
monochromatic
#0B1A05 #17340A #2E6813 #459C1C #5CCF26

Accessibility & contrast

On white

6.76
#2E6813 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2E6813 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6813
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6813#FFFFFF#000000##FFFFFF
##2E68131.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#296458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e6813;
/* rgb */ color: rgb(46, 104, 19);
/* oklch */ color: oklch(46.1% 0.130 138.0);
Tailwind
colors: {
  custom: {
    50: '#6e9458',
    500: '#2e6813',
    950: '#000000',
  },
}
SCSS
$custom: #2e6813;
$custom-light: #6e9458;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6813",
  "rgb": {
    "r": 46,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 100.941,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46063,
    "c": 0.12987,
    "h": 138
  },
  "luminance": 0.10528
}

Semantic roles & 50–950 ramp

primary
#2E6813
secondary
#7E379F
accent
#3CECB4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6813

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

Preview Lab → · Contrast checker → · Palette generator →

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