#2E7313#2E7313

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

Color values

HEX#2E7313
RGBrgb(46, 115, 19)
HSLhsl(103, 72%, 26%)
HSVhsv(103, 83%, 45%)
CMYKcmyk(60%, 0%, 83.5%, 54.9%)
CIE-LABlab(42.60, -39.31, 42.60)
CIE-LCHlch(42.60, 57.96, 132.70°)
OKLaboklab(49.22% -0.1084 0.0945)
OKLCHoklch(49.22% 0.144 138.9)
XYZxyz(7.3747, 12.8887, 2.7151)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7313 #581373
analogous
#5E7313 #2E7313 #137328
triadic
#2E7313 #132E73 #73132E
tetradic
#2E7313 #135E73 #581373 #732813
square
#2E7313 #135E73 #581373 #732813
split-complementary
#2E7313 #281373 #73135E
monochromatic
#0B1A04 #193E0A #2E7313 #43A81C #58DB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E7313#FFFFFF#000000##FFFFFF
##2E73131.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)
#6E621F
Tritanopia (blue-blind)
#276F61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e7313;
/* rgb */ color: rgb(46, 115, 19);
/* oklch */ color: oklch(49.2% 0.144 138.9);
Tailwind
colors: {
  custom: {
    50: '#709c5a',
    500: '#2e7313',
    950: '#000000',
  },
}
SCSS
$custom: #2e7313;
$custom-light: #709c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7313",
  "rgb": {
    "r": 46,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 103.125,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49216,
    "c": 0.14378,
    "h": 138.9
  },
  "luminance": 0.12889
}

Semantic roles & 50–950 ramp

primary
#2E7313
secondary
#8A38AA
accent
#39EEBB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7313

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

Preview Lab → · Contrast checker → · Palette generator →

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