#2E6718#2E6718

#2E6718 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.8% C 0.125 H 138.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2E6718
RGBrgb(46, 103, 24)
HSLhsl(103, 62%, 25%)
HSVhsv(103, 77%, 40%)
CMYKcmyk(55.3%, 0%, 76.7%, 59.6%)
CIE-LABlab(38.46, -34.09, 36.77)
CIE-LCHlch(38.46, 50.14, 132.84°)
OKLaboklab(45.81% -0.094 0.0831)
OKLCHoklch(45.81% 0.125 138.6)
XYZxyz(6.1416, 10.3468, 2.5375)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6718 #511867
analogous
#566718 #2E6718 #186729
triadic
#2E6718 #182E67 #67182E
tetradic
#2E6718 #185667 #511867 #672918
square
#2E6718 #185667 #511867 #672918
split-complementary
#2E6718 #291867 #671856
monochromatic
#0B1906 #18350C #2E6718 #449924 #5ACA2F

Accessibility & contrast

On white

6.84
#2E6718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2E6718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6718
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6718#FFFFFF#000000##FFFFFF
##2E67181.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0A
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#296358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e6718;
/* rgb */ color: rgb(46, 103, 24);
/* oklch */ color: oklch(45.8% 0.125 138.6);
Tailwind
colors: {
  custom: {
    50: '#6d935b',
    500: '#2e6718',
    950: '#000000',
  },
}
SCSS
$custom: #2e6718;
$custom-light: #6d935b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6718",
  "rgb": {
    "r": 46,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 103.291,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45813,
    "c": 0.12548,
    "h": 138.6
  },
  "luminance": 0.10347
}

Semantic roles & 50–950 ramp

primary
#2E6718
secondary
#833E9D
accent
#43E5B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2E6718

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

Preview Lab → · Contrast checker → · Palette generator →

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