#2E7118#2E7118

#2E7118 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.139 H 139.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2E7118
RGBrgb(46, 113, 24)
HSLhsl(105, 65%, 27%)
HSVhsv(105, 79%, 44%)
CMYKcmyk(59.3%, 0%, 78.8%, 55.7%)
CIE-LABlab(41.93, -38.18, 40.23)
CIE-LCHlch(41.93, 55.47, 133.50°)
OKLaboklab(48.68% -0.1051 0.0903)
OKLCHoklch(48.68% 0.139 139.3)
XYZxyz(7.1964, 12.4564, 2.8891)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7118 #5B1871
analogous
#5B7118 #2E7118 #18712F
triadic
#2E7118 #182E71 #71182E
tetradic
#2E7118 #185B71 #5B1871 #712F18
square
#2E7118 #185B71 #5B1871 #712F18
split-complementary
#2E7118 #2F1871 #71185B
monochromatic
#0A1905 #193F0D #2E7118 #43A323 #59D330

Accessibility & contrast

On white

6.01
#2E7118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E7118
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7118#FFFFFF#000000##FFFFFF
##2E71181.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e7118;
/* rgb */ color: rgb(46, 113, 24);
/* oklch */ color: oklch(48.7% 0.139 139.3);
Tailwind
colors: {
  custom: {
    50: '#6f9a5c',
    500: '#2e7118',
    950: '#000000',
  },
}
SCSS
$custom: #2e7118;
$custom-light: #6f9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7118",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 105.169,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48678,
    "c": 0.13855,
    "h": 139.3
  },
  "luminance": 0.12457
}

Semantic roles & 50–950 ramp

primary
#2E7118
secondary
#8D3EA6
accent
#40E8BE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7118

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

Preview Lab → · Contrast checker → · Palette generator →

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