#2E6B12#2E6B12

#2E6B12 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.9% C 0.134 H 138.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2E6B12
RGBrgb(46, 107, 18)
HSLhsl(101, 71%, 25%)
HSVhsv(101, 83%, 42%)
CMYKcmyk(57%, 0%, 83.2%, 58%)
CIE-LABlab(39.81, -36.18, 40.31)
CIE-LCHlch(39.81, 54.16, 131.91°)
OKLaboklab(46.92% -0.1001 0.0895)
OKLCHoklch(46.92% 0.134 138.2)
XYZxyz(6.4934, 11.1394, 2.3801)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6B12 #4F126B
analogous
#5B6B12 #2E6B12 #126B23
triadic
#2E6B12 #122E6B #6B122E
tetradic
#2E6B12 #125B6B #4F126B #6B2312
square
#2E6B12 #125B6B #4F126B #6B2312
split-complementary
#2E6B12 #23126B #6B125B
monochromatic
#0B1A04 #173709 #2E6B12 #459F1B #5BD424

Accessibility & contrast

On white

6.51
#2E6B12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2E6B12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6B12
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6B12#FFFFFF#000000##FFFFFF
##2E6B121.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#29675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e6b12;
/* rgb */ color: rgb(46, 107, 18);
/* oklch */ color: oklch(46.9% 0.134 138.2);
Tailwind
colors: {
  custom: {
    50: '#6e9658',
    500: '#2e6b12',
    950: '#000000',
  },
}
SCSS
$custom: #2e6b12;
$custom-light: #6e9658;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6b12",
  "rgb": {
    "r": 46,
    "g": 107,
    "b": 18
  },
  "hsl": {
    "h": 101.124,
    "s": 71.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46919,
    "c": 0.13427,
    "h": 138.2
  },
  "luminance": 0.1114
}

Semantic roles & 50–950 ramp

primary
#2E6B12
secondary
#8036A2
accent
#3AEEB5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6B12

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

Preview Lab → · Contrast checker → · Palette generator →

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