#2E6915#2E6915

#2E6915 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.4% C 0.130 H 138.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2E6915
RGBrgb(46, 105, 21)
HSLhsl(102, 67%, 25%)
HSVhsv(102, 80%, 41%)
CMYKcmyk(56.2%, 0%, 80%, 58.8%)
CIE-LABlab(39.13, -35.16, 38.60)
CIE-LCHlch(39.13, 52.21, 132.32°)
OKLaboklab(46.37% -0.0971 0.0864)
OKLCHoklch(46.37% 0.13 138.3)
XYZxyz(6.3134, 10.7376, 2.4492)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6915 #501569
analogous
#586915 #2E6915 #156926
triadic
#2E6915 #152E69 #69152E
tetradic
#2E6915 #155869 #501569 #692615
square
#2E6915 #155869 #501569 #692615
split-complementary
#2E6915 #261569 #691558
monochromatic
#0B1A05 #18360B #2E6915 #449C1F #5BCF29

Accessibility & contrast

On white

6.67
#2E6915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2E6915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6915
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6915#FFFFFF#000000##FFFFFF
##2E69151.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F03
Deuteranopia (green-blind)
#655A1E
Tritanopia (blue-blind)
#296559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e6915;
/* rgb */ color: rgb(46, 105, 21);
/* oklch */ color: oklch(46.4% 0.130 138.3);
Tailwind
colors: {
  custom: {
    50: '#6e9459',
    500: '#2e6915',
    950: '#000000',
  },
}
SCSS
$custom: #2e6915;
$custom-light: #6e9459;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6915",
  "rgb": {
    "r": 46,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 102.143,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46365,
    "c": 0.13002,
    "h": 138.3
  },
  "luminance": 0.10738
}

Semantic roles & 50–950 ramp

primary
#2E6915
secondary
#813AA0
accent
#3EEAB7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6915

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

Preview Lab → · Contrast checker → · Palette generator →

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