#2E6A12#2E6A12

#2E6A12 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.6% C 0.133 H 138.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2E6A12
RGBrgb(46, 106, 18)
HSLhsl(101, 71%, 24%)
HSVhsv(101, 83%, 42%)
CMYKcmyk(56.6%, 0%, 83%, 58.4%)
CIE-LABlab(39.47, -35.77, 39.98)
CIE-LCHlch(39.47, 53.65, 131.82°)
OKLaboklab(46.63% -0.099 0.0888)
OKLCHoklch(46.63% 0.133 138.1)
XYZxyz(6.3897, 10.9321, 2.3455)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6A12 #4E126A
analogous
#5A6A12 #2E6A12 #126A22
triadic
#2E6A12 #122E6A #6A122E
tetradic
#2E6A12 #125A6A #4E126A #6A2212
square
#2E6A12 #125A6A #4E126A #6A2212
split-complementary
#2E6A12 #22126A #6A125A
monochromatic
#0B1A04 #173609 #2E6A12 #459E1B #5BD324

Accessibility & contrast

On white

6.59
#2E6A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2E6A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6A12
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6A12#FFFFFF#000000##FFFFFF
##2E6A121.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#29665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e6a12;
/* rgb */ color: rgb(46, 106, 18);
/* oklch */ color: oklch(46.6% 0.133 138.1);
Tailwind
colors: {
  custom: {
    50: '#6e9558',
    500: '#2e6a12',
    950: '#000000',
  },
}
SCSS
$custom: #2e6a12;
$custom-light: #6e9558;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6a12",
  "rgb": {
    "r": 46,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 100.909,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46632,
    "c": 0.13299,
    "h": 138.1
  },
  "luminance": 0.10933
}

Semantic roles & 50–950 ramp

primary
#2E6A12
secondary
#7F36A2
accent
#3AEEB5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6A12

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

Preview Lab → · Contrast checker → · Palette generator →

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