#2E7212#2E7212

#2E7212 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.143 H 138.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2E7212
RGBrgb(46, 114, 18)
HSLhsl(103, 73%, 26%)
HSVhsv(103, 84%, 45%)
CMYKcmyk(59.6%, 0%, 84.2%, 55.3%)
CIE-LABlab(42.24, -38.97, 42.58)
CIE-LCHlch(42.24, 57.73, 132.47°)
OKLaboklab(48.93% -0.1076 0.0943)
OKLCHoklch(48.93% 0.143 138.8)
XYZxyz(7.2529, 12.6585, 2.6333)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7212 #561272
analogous
#5E7212 #2E7212 #127226
triadic
#2E7212 #122E72 #72122E
tetradic
#2E7212 #125E72 #561272 #722612
square
#2E7212 #125E72 #561272 #722612
split-complementary
#2E7212 #261272 #72125E
monochromatic
#0B1A04 #193D0A #2E7212 #43A71A #59DC23

Accessibility & contrast

On white

5.95
#2E7212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2E7212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7212
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7212#FFFFFF#000000##FFFFFF
##2E72121.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#276E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e7212;
/* rgb */ color: rgb(46, 114, 18);
/* oklch */ color: oklch(48.9% 0.143 138.8);
Tailwind
colors: {
  custom: {
    50: '#709b59',
    500: '#2e7212',
    950: '#000000',
  },
}
SCSS
$custom: #2e7212;
$custom-light: #709b59;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7212",
  "rgb": {
    "r": 46,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 102.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48925,
    "c": 0.14304,
    "h": 138.8
  },
  "luminance": 0.12659
}

Semantic roles & 50–950 ramp

primary
#2E7212
secondary
#8837A9
accent
#38EFBA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7212

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

Preview Lab → · Contrast checker → · Palette generator →

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