#2E8718#2E8718

#2E8718 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.165 H 140.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2E8718
RGBrgb(46, 135, 24)
HSLhsl(108, 70%, 31%)
HSVhsv(108, 82%, 53%)
CMYKcmyk(65.9%, 0%, 82.2%, 47.1%)
CIE-LABlab(49.46, -46.48, 47.46)
CIE-LCHlch(49.46, 66.43, 134.40°)
OKLaboklab(54.91% -0.1274 0.1054)
OKLCHoklch(54.91% 0.165 140.4)
XYZxyz(9.9551, 17.9738, 3.8086)
Luminance0.1797 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8718 #711887
analogous
#658718 #2E8718 #188739
triadic
#2E8718 #182E87 #87182E
tetradic
#2E8718 #186587 #711887 #873918
square
#2E8718 #186587 #711887 #873918
split-complementary
#2E8718 #391887 #871865
monochromatic
#0B1F06 #1C530F #2E8718 #40BB21 #5DDC3D

Accessibility & contrast

On white

4.57
#2E8718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2E8718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8718
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8718#FFFFFF#000000##000000
##2E87181.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#208273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2e8718;
/* rgb */ color: rgb(46, 135, 24);
/* oklch */ color: oklch(54.9% 0.165 140.4);
Tailwind
colors: {
  custom: {
    50: '#74ab5f',
    500: '#2e8718',
    950: '#000000',
  },
}
SCSS
$custom: #2e8718;
$custom-light: #74ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8718",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 108.108,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54907,
    "c": 0.16536,
    "h": 140.4
  },
  "luminance": 0.17975
}

Semantic roles & 50–950 ramp

primary
#2E8718
secondary
#A240BB
accent
#3BEDC9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2E8718

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

Preview Lab → · Contrast checker → · Palette generator →

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