#2E7315#2E7315

#2E7315 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.143 H 139.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2E7315
RGBrgb(46, 115, 21)
HSLhsl(104, 69%, 27%)
HSVhsv(104, 82%, 45%)
CMYKcmyk(60%, 0%, 81.7%, 54.9%)
CIE-LABlab(42.61, -39.18, 41.95)
CIE-LCHlch(42.61, 57.40, 133.05°)
OKLaboklab(49.23% -0.1079 0.0934)
OKLCHoklch(49.23% 0.143 139.1)
XYZxyz(7.3925, 12.8958, 2.8089)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7315 #5A1573
analogous
#5D7315 #2E7315 #15732B
triadic
#2E7315 #152E73 #73152E
tetradic
#2E7315 #155D73 #5A1573 #732B15
square
#2E7315 #155D73 #5A1573 #732B15
split-complementary
#2E7315 #2B1573 #73155D
monochromatic
#0A1A05 #193F0C #2E7315 #43A71E #58D82A

Accessibility & contrast

On white

5.87
#2E7315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2E7315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7315
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7315#FFFFFF#000000##FFFFFF
##2E73151.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#266F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e7315;
/* rgb */ color: rgb(46, 115, 21);
/* oklch */ color: oklch(49.2% 0.143 139.1);
Tailwind
colors: {
  custom: {
    50: '#709c5b',
    500: '#2e7315',
    950: '#000000',
  },
}
SCSS
$custom: #2e7315;
$custom-light: #709c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7315",
  "rgb": {
    "r": 46,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 104.043,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49229,
    "c": 0.14276,
    "h": 139.1
  },
  "luminance": 0.12896
}

Semantic roles & 50–950 ramp

primary
#2E7315
secondary
#8C3BA9
accent
#3CECBD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7315

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

Preview Lab → · Contrast checker → · Palette generator →

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