#2E7018#2E7018

#2E7018 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.137 H 139.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2E7018
RGBrgb(46, 112, 24)
HSLhsl(105, 65%, 27%)
HSVhsv(105, 79%, 44%)
CMYKcmyk(58.9%, 0%, 78.6%, 56.1%)
CIE-LABlab(41.59, -37.78, 39.89)
CIE-LCHlch(41.59, 54.94, 133.45°)
OKLaboklab(48.39% -0.104 0.0896)
OKLCHoklch(48.39% 0.137 139.3)
XYZxyz(7.0855, 12.2345, 2.8521)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7018 #5A1870
analogous
#5A7018 #2E7018 #18702E
triadic
#2E7018 #182E70 #70182E
tetradic
#2E7018 #185A70 #5A1870 #702E18
square
#2E7018 #185A70 #5A1870 #702E18
split-complementary
#2E7018 #2E1870 #70185A
monochromatic
#0A1905 #193E0D #2E7018 #43A223 #59D330

Accessibility & contrast

On white

6.09
#2E7018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2E7018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7018
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7018#FFFFFF#000000##FFFFFF
##2E70181.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#276C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e7018;
/* rgb */ color: rgb(46, 112, 24);
/* oklch */ color: oklch(48.4% 0.137 139.3);
Tailwind
colors: {
  custom: {
    50: '#6f9a5c',
    500: '#2e7018',
    950: '#000000',
  },
}
SCSS
$custom: #2e7018;
$custom-light: #6f9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7018",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 105,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48393,
    "c": 0.13727,
    "h": 139.3
  },
  "luminance": 0.12235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E7018

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

Preview Lab → · Contrast checker → · Palette generator →

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