#2E7115#2E7115

#2E7115 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.7% C 0.140 H 139.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2E7115
RGBrgb(46, 113, 21)
HSLhsl(104, 69%, 26%)
HSVhsv(104, 81%, 44%)
CMYKcmyk(59.3%, 0%, 81.4%, 55.7%)
CIE-LABlab(41.91, -38.39, 41.29)
CIE-LCHlch(41.91, 56.38, 132.92°)
OKLaboklab(48.66% -0.1058 0.092)
OKLCHoklch(48.66% 0.14 139)
XYZxyz(7.1669, 12.4446, 2.7337)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7115 #581571
analogous
#5C7115 #2E7115 #15712A
triadic
#2E7115 #152E71 #71152E
tetradic
#2E7115 #155C71 #581571 #712A15
square
#2E7115 #155C71 #581571 #712A15
split-complementary
#2E7115 #2A1571 #71155C
monochromatic
#0B1A05 #193D0B #2E7115 #43A51F #58D729

Accessibility & contrast

On white

6.02
#2E7115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2E7115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7115
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7115#FFFFFF#000000##FFFFFF
##2E71151.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#276D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e7115;
/* rgb */ color: rgb(46, 113, 21);
/* oklch */ color: oklch(48.7% 0.140 139.0);
Tailwind
colors: {
  custom: {
    50: '#6f9a5b',
    500: '#2e7115',
    950: '#000000',
  },
}
SCSS
$custom: #2e7115;
$custom-light: #6f9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7115",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 103.696,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48657,
    "c": 0.14026,
    "h": 139
  },
  "luminance": 0.12445
}

Semantic roles & 50–950 ramp

primary
#2E7115
secondary
#8A3BA7
accent
#3CEBBC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7115

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

Preview Lab → · Contrast checker → · Palette generator →

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