#2E7211#2E7211

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

Color values

HEX#2E7211
RGBrgb(46, 114, 17)
HSLhsl(102, 74%, 26%)
HSVhsv(102, 85%, 45%)
CMYKcmyk(59.6%, 0%, 85.1%, 55.3%)
CIE-LABlab(42.24, -39.03, 42.89)
CIE-LCHlch(42.24, 57.99, 132.31°)
OKLaboklab(48.92% -0.1078 0.0948)
OKLCHoklch(48.92% 0.144 138.7)
XYZxyz(7.2449, 12.6553, 2.5911)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7211 #551172
analogous
#5E7211 #2E7211 #117224
triadic
#2E7211 #112E72 #72112E
tetradic
#2E7211 #115E72 #551172 #722411
square
#2E7211 #115E72 #551172 #722411
split-complementary
#2E7211 #241172 #72115E
monochromatic
#0B1B04 #193D09 #2E7211 #43A719 #59DD21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E7211#FFFFFF#000000##FFFFFF
##2E72111.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)
#6D621D
Tritanopia (blue-blind)
#276E60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e7211;
/* rgb */ color: rgb(46, 114, 17);
/* oklch */ color: oklch(48.9% 0.144 138.7);
Tailwind
colors: {
  custom: {
    50: '#709b59',
    500: '#2e7211',
    950: '#000000',
  },
}
SCSS
$custom: #2e7211;
$custom-light: #709b59;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7211",
  "rgb": {
    "r": 46,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 102.062,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48919,
    "c": 0.14351,
    "h": 138.7
  },
  "luminance": 0.12656
}

Semantic roles & 50–950 ramp

primary
#2E7211
secondary
#8736A9
accent
#37F1B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7211

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

Preview Lab → · Contrast checker → · Palette generator →

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