#2E6D12#2E6D12

#2E6D12 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.5% C 0.137 H 138.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#2E6D12
RGBrgb(46, 109, 18)
HSLhsl(102, 72%, 25%)
HSVhsv(102, 83%, 43%)
CMYKcmyk(57.8%, 0%, 83.5%, 57.3%)
CIE-LABlab(40.51, -36.99, 40.96)
CIE-LCHlch(40.51, 55.19, 132.08°)
OKLaboklab(47.49% -0.1022 0.0909)
OKLCHoklch(47.49% 0.137 138.4)
XYZxyz(6.7043, 11.5612, 2.4504)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6D12 #51126D
analogous
#5C6D12 #2E6D12 #126D23
triadic
#2E6D12 #122E6D #6D122E
tetradic
#2E6D12 #125C6D #51126D #6D2312
square
#2E6D12 #125C6D #51126D #6D2312
split-complementary
#2E6D12 #23126D #6D125C
monochromatic
#0B1A04 #183809 #2E6D12 #44A21B #5AD623

Accessibility & contrast

On white

6.34
#2E6D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2E6D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6D12
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6D12#FFFFFF#000000##FFFFFF
##2E6D121.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#28695C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e6d12;
/* rgb */ color: rgb(46, 109, 18);
/* oklch */ color: oklch(47.5% 0.137 138.4);
Tailwind
colors: {
  custom: {
    50: '#6f9759',
    500: '#2e6d12',
    950: '#000000',
  },
}
SCSS
$custom: #2e6d12;
$custom-light: #6f9759;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6d12",
  "rgb": {
    "r": 46,
    "g": 109,
    "b": 18
  },
  "hsl": {
    "h": 101.538,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47493,
    "c": 0.13681,
    "h": 138.4
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#2E6D12
secondary
#8337A4
accent
#39EEB7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6D12

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

Preview Lab → · Contrast checker → · Palette generator →

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