#2E6715#2E6715

#2E6715 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.8% C 0.127 H 138.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2E6715
RGBrgb(46, 103, 21)
HSLhsl(102, 66%, 24%)
HSVhsv(102, 80%, 40%)
CMYKcmyk(55.3%, 0%, 79.6%, 59.6%)
CIE-LABlab(38.44, -34.32, 37.92)
CIE-LCHlch(38.44, 51.15, 132.15°)
OKLaboklab(45.79% -0.0949 0.085)
OKLCHoklch(45.79% 0.127 138.1)
XYZxyz(6.1121, 10.3350, 2.3821)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6715 #4E1567
analogous
#576715 #2E6715 #156725
triadic
#2E6715 #152E67 #67152E
tetradic
#2E6715 #155767 #4E1567 #672515
square
#2E6715 #155767 #4E1567 #672515
split-complementary
#2E6715 #251567 #671557
monochromatic
#0B1905 #17340B #2E6715 #459A1F #5BCD2A

Accessibility & contrast

On white

6.85
#2E6715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2E6715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6715
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6715#FFFFFF#000000##FFFFFF
##2E67151.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D04
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#296357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e6715;
/* rgb */ color: rgb(46, 103, 21);
/* oklch */ color: oklch(45.8% 0.127 138.1);
Tailwind
colors: {
  custom: {
    50: '#6e9359',
    500: '#2e6715',
    950: '#000000',
  },
}
SCSS
$custom: #2e6715;
$custom-light: #6e9359;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6715",
  "rgb": {
    "r": 46,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 101.707,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45789,
    "c": 0.12739,
    "h": 138.1
  },
  "luminance": 0.10335
}

Semantic roles & 50–950 ramp

primary
#2E6715
secondary
#7F3A9E
accent
#3FE9B5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6715

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

Preview Lab → · Contrast checker → · Palette generator →

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