#2E7918#2E7918

#2E7918 is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.149 H 139.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2E7918
RGBrgb(46, 121, 24)
HSLhsl(106, 67%, 28%)
HSVhsv(106, 80%, 47%)
CMYKcmyk(62%, 0%, 80.2%, 52.5%)
CIE-LABlab(44.69, -41.30, 42.92)
CIE-LCHlch(44.69, 59.56, 133.90°)
OKLaboklab(50.96% -0.1135 0.0959)
OKLCHoklch(50.96% 0.149 139.8)
XYZxyz(8.1286, 14.3208, 3.1998)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7918 #631879
analogous
#5E7918 #2E7918 #187932
triadic
#2E7918 #182E79 #79182E
tetradic
#2E7918 #185E79 #631879 #793218
square
#2E7918 #185E79 #631879 #793218
split-complementary
#2E7918 #321879 #79185E
monochromatic
#0A1A05 #1B460E #2E7918 #41AC22 #59D735

Accessibility & contrast

On white

5.43
#2E7918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2E7918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7918
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7918#FFFFFF#000000##FFFFFF
##2E79181.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D01
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#247567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e7918;
/* rgb */ color: rgb(46, 121, 24);
/* oklch */ color: oklch(51.0% 0.149 139.8);
Tailwind
colors: {
  custom: {
    50: '#71a05d',
    500: '#2e7918',
    950: '#000000',
  },
}
SCSS
$custom: #2e7918;
$custom-light: #71a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7918",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 106.392,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50956,
    "c": 0.14857,
    "h": 139.8
  },
  "luminance": 0.14322
}

Semantic roles & 50–950 ramp

primary
#2E7918
secondary
#953FAE
accent
#3EEAC3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2E7918

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

Preview Lab → · Contrast checker → · Palette generator →

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