#2E6215#2E6215

#2E6215 is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.3% C 0.121 H 137.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2E6215
RGBrgb(46, 98, 21)
HSLhsl(101, 65%, 23%)
HSVhsv(101, 79%, 38%)
CMYKcmyk(53.1%, 0%, 78.6%, 61.6%)
CIE-LABlab(36.69, -32.20, 36.19)
CIE-LCHlch(36.69, 48.44, 131.66°)
OKLaboklab(44.35% -0.0891 0.0814)
OKLCHoklch(44.35% 0.121 137.6)
XYZxyz(5.6296, 9.3699, 2.2213)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6215 #491562
analogous
#546215 #2E6215 #156222
triadic
#2E6215 #152E62 #62152E
tetradic
#2E6215 #155462 #491562 #622215
square
#2E6215 #155462 #491562 #622215
split-complementary
#2E6215 #221562 #621554
monochromatic
#0C1905 #16300A #2E6215 #469420 #5DC72B

Accessibility & contrast

On white

7.31
#2E6215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E6215
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6215#FFFFFF#000000##FFFFFF
##2E62151.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e6215;
/* rgb */ color: rgb(46, 98, 21);
/* oklch */ color: oklch(44.3% 0.121 137.6);
Tailwind
colors: {
  custom: {
    50: '#6d8f58',
    500: '#2e6215',
    950: '#000000',
  },
}
SCSS
$custom: #2e6215;
$custom-light: #6d8f58;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6215",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 100.519,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44349,
    "c": 0.12071,
    "h": 137.6
  },
  "luminance": 0.0937
}

Semantic roles & 50–950 ramp

primary
#2E6215
secondary
#7A3A99
accent
#40E8B1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E6215

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

Preview Lab → · Contrast checker → · Palette generator →

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