#2E6216#2E6216

#2E6216 is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.4% C 0.120 H 137.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2E6216
RGBrgb(46, 98, 22)
HSLhsl(101, 63%, 24%)
HSVhsv(101, 78%, 38%)
CMYKcmyk(53.1%, 0%, 77.6%, 61.6%)
CIE-LABlab(36.69, -32.12, 35.80)
CIE-LCHlch(36.69, 48.09, 131.90°)
OKLaboklab(44.36% -0.0889 0.0807)
OKLCHoklch(44.36% 0.12 137.7)
XYZxyz(5.6390, 9.3737, 2.2711)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6216 #4A1662
analogous
#546216 #2E6216 #166224
triadic
#2E6216 #162E62 #62162E
tetradic
#2E6216 #165462 #4A1662 #622416
square
#2E6216 #165462 #4A1662 #622416
split-complementary
#2E6216 #241662 #621654
monochromatic
#0C1906 #17300B #2E6216 #459421 #5DC62C

Accessibility & contrast

On white

7.30
#2E6216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2E6216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E6216
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6216#FFFFFF#000000##FFFFFF
##2E62161.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655908
Deuteranopia (green-blind)
#5F551E
Tritanopia (blue-blind)
#2A5E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e6216;
/* rgb */ color: rgb(46, 98, 22);
/* oklch */ color: oklch(44.4% 0.120 137.7);
Tailwind
colors: {
  custom: {
    50: '#6d8f59',
    500: '#2e6216',
    950: '#000000',
  },
}
SCSS
$custom: #2e6216;
$custom-light: #6d8f59;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6216",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 101.053,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44357,
    "c": 0.12006,
    "h": 137.7
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

primary
#2E6216
secondary
#7B3B99
accent
#41E6B2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E6216

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

Preview Lab → · Contrast checker → · Palette generator →

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