#2E6814#2E6814

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

Color values

HEX#2E6814
RGBrgb(46, 104, 20)
HSLhsl(101, 68%, 24%)
HSVhsv(101, 81%, 41%)
CMYKcmyk(55.8%, 0%, 80.8%, 59.2%)
CIE-LABlab(38.78, -34.81, 38.63)
CIE-LCHlch(38.78, 52.00, 132.03°)
OKLaboklab(46.07% -0.0963 0.0863)
OKLCHoklch(46.07% 0.129 138.1)
XYZxyz(6.2031, 10.5315, 2.3676)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6814 #4E1468
analogous
#586814 #2E6814 #146824
triadic
#2E6814 #142E68 #68142E
tetradic
#2E6814 #145868 #4E1468 #682414
square
#2E6814 #145868 #4E1468 #682414
split-complementary
#2E6814 #241468 #681458
monochromatic
#0B1A05 #17350A #2E6814 #459B1E #5BCF28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E6814#FFFFFF#000000##FFFFFF
##2E68141.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)
#6B5E02
Deuteranopia (green-blind)
#645A1D
Tritanopia (blue-blind)
#296458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e6814;
/* rgb */ color: rgb(46, 104, 20);
/* oklch */ color: oklch(46.1% 0.129 138.1);
Tailwind
colors: {
  custom: {
    50: '#6e9459',
    500: '#2e6814',
    950: '#000000',
  },
}
SCSS
$custom: #2e6814;
$custom-light: #6e9459;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6814",
  "rgb": {
    "r": 46,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 101.429,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4607,
    "c": 0.12929,
    "h": 138.1
  },
  "luminance": 0.10532
}

Semantic roles & 50–950 ramp

primary
#2E6814
secondary
#7F399F
accent
#3DEBB5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6814

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

Preview Lab → · Contrast checker → · Palette generator →

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