#2E6815#2E6815

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

Color values

HEX#2E6815
RGBrgb(46, 104, 21)
HSLhsl(102, 66%, 25%)
HSVhsv(102, 80%, 41%)
CMYKcmyk(55.8%, 0%, 79.8%, 59.2%)
CIE-LABlab(38.79, -34.74, 38.26)
CIE-LCHlch(38.79, 51.68, 132.24°)
OKLaboklab(46.08% -0.096 0.0857)
OKLCHoklch(46.08% 0.129 138.2)
XYZxyz(6.2122, 10.5351, 2.4155)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6815 #4F1568
analogous
#586815 #2E6815 #156826
triadic
#2E6815 #152E68 #68152E
tetradic
#2E6815 #155868 #4F1568 #682615
square
#2E6815 #155868 #4F1568 #682615
split-complementary
#2E6815 #261568 #681558
monochromatic
#0B1905 #17350B #2E6815 #459B1F #5BCE2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E6815#FFFFFF#000000##FFFFFF
##2E68151.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)
#6B5E04
Deuteranopia (green-blind)
#645A1E
Tritanopia (blue-blind)
#296458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e6815;
/* rgb */ color: rgb(46, 104, 21);
/* oklch */ color: oklch(46.1% 0.129 138.2);
Tailwind
colors: {
  custom: {
    50: '#6e9459',
    500: '#2e6815',
    950: '#000000',
  },
}
SCSS
$custom: #2e6815;
$custom-light: #6e9459;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6815",
  "rgb": {
    "r": 46,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 101.928,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46077,
    "c": 0.12871,
    "h": 138.2
  },
  "luminance": 0.10536
}

Semantic roles & 50–950 ramp

primary
#2E6815
secondary
#803A9F
accent
#3EE9B6
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6815

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

Preview Lab → · Contrast checker → · Palette generator →

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