#2E7216#2E7216

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

Color values

HEX#2E7216
RGBrgb(46, 114, 22)
HSLhsl(104, 68%, 27%)
HSVhsv(104, 81%, 45%)
CMYKcmyk(59.6%, 0%, 80.7%, 55.3%)
CIE-LABlab(42.27, -38.72, 41.28)
CIE-LCHlch(42.27, 56.60, 133.17°)
OKLaboklab(48.95% -0.1067 0.0922)
OKLCHoklch(48.95% 0.141 139.2)
XYZxyz(7.2885, 12.6728, 2.8209)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7216 #5A1672
analogous
#5C7216 #2E7216 #16722C
triadic
#2E7216 #162E72 #72162E
tetradic
#2E7216 #165C72 #5A1672 #722C16
square
#2E7216 #165C72 #5A1672 #722C16
split-complementary
#2E7216 #2C1672 #72165C
monochromatic
#0A1A05 #193F0C #2E7216 #43A520 #59D62C

Accessibility & contrast

On white

5.94
#2E7216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E7216
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7216#FFFFFF#000000##FFFFFF
##2E72161.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e7216;
/* rgb */ color: rgb(46, 114, 22);
/* oklch */ color: oklch(48.9% 0.141 139.2);
Tailwind
colors: {
  custom: {
    50: '#709b5b',
    500: '#2e7216',
    950: '#000000',
  },
}
SCSS
$custom: #2e7216;
$custom-light: #709b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7216",
  "rgb": {
    "r": 46,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 104.348,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4895,
    "c": 0.14097,
    "h": 139.2
  },
  "luminance": 0.12673
}

Semantic roles & 50–950 ramp

primary
#2E7216
secondary
#8C3CA8
accent
#3DEBBD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7216

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

Preview Lab → · Contrast checker → · Palette generator →

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