#2E6E12#2E6E12

#2E6E12 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.138 H 138.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2E6E12
RGBrgb(46, 110, 18)
HSLhsl(102, 72%, 25%)
HSVhsv(102, 84%, 43%)
CMYKcmyk(58.2%, 0%, 83.6%, 56.9%)
CIE-LABlab(40.86, -37.39, 41.29)
CIE-LCHlch(40.86, 55.70, 132.16°)
OKLaboklab(47.78% -0.1033 0.0916)
OKLCHoklch(47.78% 0.138 138.4)
XYZxyz(6.8116, 11.7758, 2.4862)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6E12 #52126E
analogous
#5C6E12 #2E6E12 #126E24
triadic
#2E6E12 #122E6E #6E122E
tetradic
#2E6E12 #125C6E #52126E #6E2412
square
#2E6E12 #125C6E #52126E #6E2412
split-complementary
#2E6E12 #24126E #6E125C
monochromatic
#0B1A04 #183909 #2E6E12 #44A31B #5AD723

Accessibility & contrast

On white

6.26
#2E6E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2E6E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6E12
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6E12#FFFFFF#000000##FFFFFF
##2E6E121.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5E1D
Tritanopia (blue-blind)
#286A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e6e12;
/* rgb */ color: rgb(46, 110, 18);
/* oklch */ color: oklch(47.8% 0.138 138.4);
Tailwind
colors: {
  custom: {
    50: '#6f9859',
    500: '#2e6e12',
    950: '#000000',
  },
}
SCSS
$custom: #2e6e12;
$custom-light: #6f9859;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6e12",
  "rgb": {
    "r": 46,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 101.739,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4778,
    "c": 0.13806,
    "h": 138.4
  },
  "luminance": 0.11776
}

Semantic roles & 50–950 ramp

primary
#2E6E12
secondary
#8437A5
accent
#39EFB7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E6E12

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

Preview Lab → · Contrast checker → · Palette generator →

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