#2E6912#2E6912

#2E6912 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.3% C 0.132 H 138.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2E6912
RGBrgb(46, 105, 18)
HSLhsl(101, 71%, 24%)
HSVhsv(101, 83%, 41%)
CMYKcmyk(56.2%, 0%, 82.9%, 58.8%)
CIE-LABlab(39.12, -35.36, 39.65)
CIE-LCHlch(39.12, 53.13, 131.73°)
OKLaboklab(46.34% -0.0979 0.0882)
OKLCHoklch(46.34% 0.132 138)
XYZxyz(6.2872, 10.7272, 2.3114)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6912 #4D1269
analogous
#5A6912 #2E6912 #126922
triadic
#2E6912 #122E69 #69122E
tetradic
#2E6912 #125A69 #4D1269 #692212
square
#2E6912 #125A69 #4D1269 #692212
split-complementary
#2E6912 #221269 #69125A
monochromatic
#0B1A04 #173509 #2E6912 #459D1B #5CD124

Accessibility & contrast

On white

6.68
#2E6912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E6912
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6912#FFFFFF#000000##FFFFFF
##2E69121.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e6912;
/* rgb */ color: rgb(46, 105, 18);
/* oklch */ color: oklch(46.3% 0.132 138.0);
Tailwind
colors: {
  custom: {
    50: '#6e9458',
    500: '#2e6912',
    950: '#000000',
  },
}
SCSS
$custom: #2e6912;
$custom-light: #6e9458;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6912",
  "rgb": {
    "r": 46,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 100.69,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46344,
    "c": 0.13171,
    "h": 138
  },
  "luminance": 0.10728
}

Semantic roles & 50–950 ramp

primary
#2E6912
secondary
#7E36A1
accent
#3AEDB4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6912

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

Preview Lab → · Contrast checker → · Palette generator →

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