#2E7012#2E7012

#2E7012 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.141 H 138.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2E7012
RGBrgb(46, 112, 18)
HSLhsl(102, 72%, 25%)
HSVhsv(102, 84%, 44%)
CMYKcmyk(58.9%, 0%, 83.9%, 56.1%)
CIE-LABlab(41.55, -38.19, 41.94)
CIE-LCHlch(41.55, 56.72, 132.32°)
OKLaboklab(48.35% -0.1054 0.0929)
OKLCHoklch(48.35% 0.141 138.6)
XYZxyz(7.0298, 12.2123, 2.5589)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7012 #541270
analogous
#5D7012 #2E7012 #127025
triadic
#2E7012 #122E70 #70122E
tetradic
#2E7012 #125D70 #541270 #702512
square
#2E7012 #125D70 #541270 #702512
split-complementary
#2E7012 #251270 #70125D
monochromatic
#0B1A04 #183B0A #2E7012 #44A51A #59D923

Accessibility & contrast

On white

6.10
#2E7012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2E7012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7012
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7012#FFFFFF#000000##FFFFFF
##2E70121.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#286C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e7012;
/* rgb */ color: rgb(46, 112, 18);
/* oklch */ color: oklch(48.4% 0.141 138.6);
Tailwind
colors: {
  custom: {
    50: '#6f9a59',
    500: '#2e7012',
    950: '#000000',
  },
}
SCSS
$custom: #2e7012;
$custom-light: #6f9a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7012",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 102.128,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48353,
    "c": 0.14055,
    "h": 138.6
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

primary
#2E7012
secondary
#8637A7
accent
#39EFB9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7012

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

Preview Lab → · Contrast checker → · Palette generator →

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