#2E6F12#2E6F12

#2E6F12 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.139 H 138.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2E6F12
RGBrgb(46, 111, 18)
HSLhsl(102, 72%, 25%)
HSVhsv(102, 84%, 44%)
CMYKcmyk(58.6%, 0%, 83.8%, 56.5%)
CIE-LABlab(41.20, -37.79, 41.62)
CIE-LCHlch(41.20, 56.21, 132.24°)
OKLaboklab(48.07% -0.1044 0.0923)
OKLCHoklch(48.07% 0.139 138.5)
XYZxyz(6.9201, 11.9928, 2.5223)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6F12 #53126F
analogous
#5D6F12 #2E6F12 #126F24
triadic
#2E6F12 #122E6F #6F122E
tetradic
#2E6F12 #125D6F #53126F #6F2412
square
#2E6F12 #125D6F #53126F #6F2412
split-complementary
#2E6F12 #24126F #6F125D
monochromatic
#0B1A04 #183A09 #2E6F12 #44A41B #5AD823

Accessibility & contrast

On white

6.18
#2E6F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2E6F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6F12
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6F12#FFFFFF#000000##FFFFFF
##2E6F121.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736400
Deuteranopia (green-blind)
#6A5F1D
Tritanopia (blue-blind)
#286B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e6f12;
/* rgb */ color: rgb(46, 111, 18);
/* oklch */ color: oklch(48.1% 0.139 138.5);
Tailwind
colors: {
  custom: {
    50: '#6f9959',
    500: '#2e6f12',
    950: '#000000',
  },
}
SCSS
$custom: #2e6f12;
$custom-light: #6f9959;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6f12",
  "rgb": {
    "r": 46,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 101.935,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48066,
    "c": 0.13932,
    "h": 138.5
  },
  "luminance": 0.11993
}

Semantic roles & 50–950 ramp

primary
#2E6F12
secondary
#8537A6
accent
#39EFB8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E6F12

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

Preview Lab → · Contrast checker → · Palette generator →

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