#2E6918#2E6918

#2E6918 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.4% C 0.128 H 138.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2E6918
RGBrgb(46, 105, 24)
HSLhsl(104, 63%, 25%)
HSVhsv(104, 77%, 41%)
CMYKcmyk(56.2%, 0%, 77.1%, 58.8%)
CIE-LABlab(39.16, -34.93, 37.47)
CIE-LCHlch(39.16, 51.22, 132.99°)
OKLaboklab(46.39% -0.0963 0.0845)
OKLCHoklch(46.39% 0.128 138.7)
XYZxyz(6.3429, 10.7494, 2.6046)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6918 #531869
analogous
#566918 #2E6918 #18692B
triadic
#2E6918 #182E69 #69182E
tetradic
#2E6918 #185669 #531869 #692B18
square
#2E6918 #185669 #531869 #692B18
split-complementary
#2E6918 #2B1869 #691856
monochromatic
#0B1906 #18370D #2E6918 #449B23 #5ACD2F

Accessibility & contrast

On white

6.67
#2E6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2E6918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6918
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6918#FFFFFF#000000##FFFFFF
##2E69181.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#655A20
Tritanopia (blue-blind)
#296559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e6918;
/* rgb */ color: rgb(46, 105, 24);
/* oklch */ color: oklch(46.4% 0.128 138.7);
Tailwind
colors: {
  custom: {
    50: '#6e945b',
    500: '#2e6918',
    950: '#000000',
  },
}
SCSS
$custom: #2e6918;
$custom-light: #6e945b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6918",
  "rgb": {
    "r": 46,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 103.704,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46388,
    "c": 0.12814,
    "h": 138.7
  },
  "luminance": 0.1075
}

Semantic roles & 50–950 ramp

primary
#2E6918
secondary
#853E9F
accent
#42E6B9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6918

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

Preview Lab → · Contrast checker → · Palette generator →

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