#2E7F13#2E7F13

#2E7F13 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.158 H 139.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2E7F13
RGBrgb(46, 127, 19)
HSLhsl(105, 74%, 29%)
HSVhsv(105, 85%, 50%)
CMYKcmyk(63.8%, 0%, 85%, 50.2%)
CIE-LABlab(46.72, -43.86, 46.41)
CIE-LCHlch(46.72, 63.85, 133.38°)
OKLaboklab(52.63% -0.1206 0.1025)
OKLCHoklch(52.63% 0.158 139.7)
XYZxyz(8.8332, 15.8058, 3.2013)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7F13 #64137F
analogous
#647F13 #2E7F13 #137F2E
triadic
#2E7F13 #132E7F #7F132E
tetradic
#2E7F13 #13647F #64137F #7F2E13
square
#2E7F13 #13647F #64137F #7F2E13
split-complementary
#2E7F13 #2E137F #7F1364
monochromatic
#0A1B04 #1B4A0B #2E7F13 #41B41B #5AE02D

Accessibility & contrast

On white

5.05
#2E7F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2E7F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7F13
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7F13#FFFFFF#000000##FFFFFF
##2E7F131.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#237B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e7f13;
/* rgb */ color: rgb(46, 127, 19);
/* oklch */ color: oklch(52.6% 0.158 139.7);
Tailwind
colors: {
  custom: {
    50: '#72a55c',
    500: '#2e7f13',
    950: '#000000',
  },
}
SCSS
$custom: #2e7f13;
$custom-light: #72a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7f13",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 105,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52626,
    "c": 0.15826,
    "h": 139.7
  },
  "luminance": 0.15807
}

Semantic roles & 50–950 ramp

primary
#2E7F13
secondary
#9639B4
accent
#37F1C2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2E7F13

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

Preview Lab → · Contrast checker → · Palette generator →

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