#2E7B13#2E7B13

#2E7B13 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.154 H 139.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2E7B13
RGBrgb(46, 123, 19)
HSLhsl(104, 73%, 28%)
HSVhsv(104, 85%, 48%)
CMYKcmyk(62.6%, 0%, 84.6%, 51.8%)
CIE-LABlab(45.35, -42.37, 45.15)
CIE-LCHlch(45.35, 61.92, 133.18°)
OKLaboklab(51.49% -0.1166 0.0998)
OKLCHoklch(51.49% 0.154 139.4)
XYZxyz(8.3269, 14.7930, 3.0325)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B13 #60137B
analogous
#627B13 #2E7B13 #137B2C
triadic
#2E7B13 #132E7B #7B132E
tetradic
#2E7B13 #13627B #60137B #7B2C13
square
#2E7B13 #13627B #60137B #7B2C13
split-complementary
#2E7B13 #2C137B #7B1362
monochromatic
#0A1B04 #1A460B #2E7B13 #42B01B #59DE2A

Accessibility & contrast

On white

5.30
#2E7B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2E7B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7B13
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7B13#FFFFFF#000000##FFFFFF
##2E7B131.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#756920
Tritanopia (blue-blind)
#247768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7b13;
/* rgb */ color: rgb(46, 123, 19);
/* oklch */ color: oklch(51.5% 0.154 139.4);
Tailwind
colors: {
  custom: {
    50: '#71a25b',
    500: '#2e7b13',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b13;
$custom-light: #71a25b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b13",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 19
  },
  "hsl": {
    "h": 104.423,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51493,
    "c": 0.15351,
    "h": 139.4
  },
  "luminance": 0.14794
}

Semantic roles & 50–950 ramp

primary
#2E7B13
secondary
#9239B1
accent
#38F0C0
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2E7B13

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

Preview Lab → · Contrast checker → · Palette generator →

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